git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set exit status when router is not available
[linksys-wrt3g-tools.git]
/
scripts
/
status.php
diff --git
a/scripts/status.php
b/scripts/status.php
index 5384d919f067e5efdb2fec5c20ccd25586d4a1de..9f9437179ae19cb62b1c17b3f31fb132f3f15022 100644
(file)
--- a/
scripts/status.php
+++ b/
scripts/status.php
@@
-20,5
+20,6
@@
try {
}
} catch (Exception $e) {
echo 'Error: ' . $e->getMessage() . "\n";
+ exit(1);
}
?>
\ No newline at end of file