diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2010-12-08 20:20:49 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2010-12-08 20:20:49 +0100 |
| commit | cfe00d3ccd79c2b1c7f8a09853d027dabff3c302 (patch) | |
| tree | 4f080de77be8dd4d1e3fa6c4b2caafef45b2a7b6 /scripts/status.php | |
| parent | ace4f4e56406f2754b142b4252f0411636b5b49d (diff) | |
| download | linksys-wrt3g-tools-cfe00d3ccd79c2b1c7f8a09853d027dabff3c302.tar.gz linksys-wrt3g-tools-cfe00d3ccd79c2b1c7f8a09853d027dabff3c302.zip | |
set exit status when router is not available
Diffstat (limited to 'scripts/status.php')
| -rw-r--r-- | scripts/status.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/status.php b/scripts/status.php index 5384d91..9f94371 100644 --- 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 |
