fix exit statement in cli scripts

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-02 18:07:36 +02:00
parent d18fa771f4
commit c7833beff4
3 changed files with 3 additions and 2 deletions

View File

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