Skip to content

Commit

Permalink
fix exit statement in cli scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
  • Loading branch information
d00p committed Apr 2, 2022
1 parent 652a998 commit 11533c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/scripts/config-services.php
Expand Up @@ -28,5 +28,5 @@
\Froxlor\Cli\ConfigServicesCmd::processParameters($argc, $argv);
} catch (Exception $e) {
\Froxlor\Cli\ConfigServicesCmd::printerr($e->getMessage());
exit 1;
exit(1);
}
2 changes: 1 addition & 1 deletion install/scripts/switch-server-ip.php
Expand Up @@ -28,5 +28,5 @@
\Froxlor\Cli\SwitchServerIpCmd::processParameters($argc, $argv);
} catch (Exception $e) {
\Froxlor\Cli\SwitchServerIpCmd::printerr($e->getMessage());
exit 1;
exit(1);
}
1 change: 1 addition & 0 deletions scripts/php-sessionclean.php
Expand Up @@ -28,4 +28,5 @@
\Froxlor\Cli\PhpSessioncleanCmd::processParameters($argc, $argv);
} catch (Exception $e) {
\Froxlor\Cli\PhpSessioncleanCmd::printerr($e->getMessage());
exit(1);
}

0 comments on commit 11533c2

Please sign in to comment.