Module: ngircd.git Branch: master Commit: 85ce82e504d4cd7d505d215c973e55cf14101cd8 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=85ce8...
Author: Alexander Barton alex@barton.de Date: Wed Dec 3 16:49:55 2008 +0100
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 ...
---
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 15fa3f0..90832a3 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-
ngircd-commits@lists.barton.de