mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
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 ...
This commit is contained in:
parent
83c699d5a5
commit
85ce82e504
@ -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-
|
||||
|
Loading…
Reference in New Issue
Block a user