diff --git a/common/kernel/command.cc b/common/kernel/command.cc index 5493173c..39ad1cea 100644 --- a/common/kernel/command.cc +++ b/common/kernel/command.cc @@ -748,7 +748,7 @@ int CommandHandler::exec() { try { if (!parseOptions()) - return -1; + return 125; if (executeBeforeContext()) return 0; @@ -764,7 +764,7 @@ int CommandHandler::exec() return rc; } catch (log_execution_error_exception) { printFooter(); - return -1; + return 125; } }