diff options
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r-- | regress/multiplex.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh index e8cc1ac53..63a5c6238 100644 --- a/regress/multiplex.sh +++ b/regress/multiplex.sh @@ -89,6 +89,6 @@ ${SSH} -S $CTL -Oexit otherhost || fail "send exit command failed" # Wait for master to exit sleep 2 -ps -p $MASTER_PID >/dev/null && fail "exit command failed" +kill -0 $MASTER_PID >/dev/null 2>&1 && fail "exit command failed" cleanup |