repo: ngircd action: commit revision: path_from: revision_from: 85ce82e504d4cd7d505d215c973e55cf14101cd8: path_to: revision_to:
commit 85ce82e504d4cd7d505d215c973e55cf14101cd8 Author: Alexander BartonDate: 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 ... diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh
--- 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-
-----END OF PAGE-----