mirror of
https://github.com/nzbget/nzbget.git
synced 2026-04-24 14:56:53 -04:00
pp-scripts terminated with unknown status are now considered failed (status=FAILURE instead of status=UNKNOWN)
This commit is contained in:
@@ -936,8 +936,8 @@ ScriptStatus::EStatus PostScriptController::AnalyseExitCode(int iExitCode)
|
||||
#endif
|
||||
|
||||
default:
|
||||
PrintMessage(Message::mkWarning, "%s terminated with unknown status", GetInfoName());
|
||||
return ScriptStatus::srUnknown;
|
||||
PrintMessage(Message::mkError, "%s failed (terminated with unknown status)", GetInfoName());
|
||||
return ScriptStatus::srFailure;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user