use proper return value (int) rather than bool.
This commit is contained in:
parent
4aa903b879
commit
f47fdf7e54
@ -302,7 +302,7 @@ int main(int argc, char *argv[])
|
|||||||
if (!rl.Parse(errMsg)) {
|
if (!rl.Parse(errMsg)) {
|
||||||
std::cerr << "**ERROR** in run list: -rl " << runStr << std::endl;
|
std::cerr << "**ERROR** in run list: -rl " << runStr << std::endl;
|
||||||
std::cerr << errMsg << std::endl;
|
std::cerr << errMsg << std::endl;
|
||||||
return false;
|
return PMUSR_WRONG_STARTUP_SYNTAX;
|
||||||
}
|
}
|
||||||
info.runList = rl.GetList();
|
info.runList = rl.GetList();
|
||||||
// move the argument counter to the proper position
|
// move the argument counter to the proper position
|
||||||
|
Loading…
x
Reference in New Issue
Block a user