repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 85ce82e504d4cd7d505d215c973e55cf14101cd8:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 85ce82e504d4cd7d505d215c973e55cf14101cd8
Author: Alexander Barton 
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 ...

diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh
index 15fa3f065bca64709a5d8ccb31a914be6a38562b..
index ..90832a39f68913d757a46320bf96fd672446944b 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-

-----END OF PAGE-----