Skip to content

Commit 97b6d63

Browse files
committed
Merge branch 'sg/daemon-test-signal-fix'
Test fix. * sg/daemon-test-signal-fix: t/lib-git-daemon: fix signal checking
2 parents 1efd0e8 + 4c2eb06 commit 97b6d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib-git-daemon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ stop_git_daemon() {
9292
kill "$GIT_DAEMON_PID"
9393
wait "$GIT_DAEMON_PID" >&3 2>&4
9494
ret=$?
95-
if test_match_signal 15 $?
95+
if ! test_match_signal 15 $ret
9696
then
9797
error "git daemon exited with status: $ret"
9898
fi

0 commit comments

Comments
 (0)