From cfe00d3ccd79c2b1c7f8a09853d027dabff3c302 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 8 Dec 2010 20:20:49 +0100 Subject: set exit status when router is not available --- scripts/reboot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/reboot.php') 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 -- cgit v1.2.3