aboutsummaryrefslogtreecommitdiff
path: root/scripts/reboot.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reboot.php')
-rw-r--r--scripts/reboot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/reboot.php b/scripts/reboot.php
index a7be1be..cdc3710 100644
--- a/scripts/reboot.php
+++ b/scripts/reboot.php
@@ -19,5 +19,6 @@ try {
echo $resp->getStatus() . ' ' . $resp->getReasonPhrase() . "\n";
} catch (Exception $e) {
echo 'Error: ' . $e->getMessage() . "\n";
+ exit(1);
}
?> \ No newline at end of file