set exit status when router is not available
[linksys-wrt3g-tools.git] / scripts / status.php
index 5384d919f067e5efdb2fec5c20ccd25586d4a1de..9f9437179ae19cb62b1c17b3f31fb132f3f15022 100644 (file)
@@ -20,5 +20,6 @@ try {
     }
 } catch (Exception $e) {
     echo 'Error: ' . $e->getMessage() . "\n";
+    exit(1);
 }
 ?>
\ No newline at end of file