use proper return value (int) rather than bool.

This commit is contained in:
Andreas Suter 2022-04-29 07:56:38 +02:00 committed by Andreas Suter
parent e679546d60
commit fea7b535b6

View File

@ -302,7 +302,7 @@ int main(int argc, char *argv[])
if (!rl.Parse(errMsg)) {
std::cerr << "**ERROR** in run list: -rl " << runStr << std::endl;
std::cerr << errMsg << std::endl;
return false;
return PMUSR_WRONG_STARTUP_SYNTAX;
}
info.runList = rl.GetList();
// move the argument counter to the proper position