diff options
| author | Alexander Barton <alex@barton.de> | 2008-12-03 16:49:55 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2008-12-03 16:49:55 +0100 |
| commit | 85ce82e504d4cd7d505d215c973e55cf14101cd8 (patch) | |
| tree | add7175db05a7da988fef86f6ac48c4452d6c79f | |
| parent | 83c699d5a559acecc9b62767e4ffcf8fb50dfbb5 (diff) | |
| download | ngircd-85ce82e504d4cd7d505d215c973e55cf14101cd8.tar.gz ngircd-85ce82e504d4cd7d505d215c973e55cf14101cd8.zip | |
Testsuite start-server.sh: return correct exit code.
src/testsuite/start-server.sh returns 0 when no errors occurred and the daemon has been startet and 1 on errors. Always returning 0 is wrong ...
| -rwxr-xr-x | src/testsuite/start-server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh index 15fa3f06..90832a39 100755 --- a/src/testsuite/start-server.sh +++ b/src/testsuite/start-server.sh @@ -45,6 +45,6 @@ pid=`./getpid.sh T-ngircd${id}` [ -n "$pid" ] && kill -0 $pid > /dev/null 2>&1; r=$? [ $r -eq 0 ] && echo " ok." || echo " failure!" -exit +exit $r # -eof- |