Set RC 1 if an exception occured (#1013)

This commit is contained in:
FliegenKLATSCH
2022-03-26 13:54:32 +01:00
committed by GitHub
parent 02d0194b9f
commit c8c1f7e691
2 changed files with 2 additions and 0 deletions

View File

@@ -28,4 +28,5 @@ try {
\Froxlor\Cli\SwitchServerIpCmd::processParameters($argc, $argv);
} catch (Exception $e) {
\Froxlor\Cli\SwitchServerIpCmd::printerr($e->getMessage());
exit 1;
}