diff --git a/regress/agent-subprocess.sh b/regress/agent-subprocess.sh index b32d5d436d11..af4f60d22eef 100644 --- a/regress/agent-subprocess.sh +++ b/regress/agent-subprocess.sh @@ -9,7 +9,7 @@ ${SSHAGENT} sh -c "echo \$SSH_AGENT_PID >$OBJ/pidfile; sleep 1" pid=`cat $OBJ/pidfile` # Currently ssh-agent polls every 10s so we need to wait at least that long. -n=12 +n=62 while kill -0 $pid >/dev/null 2>&1 && test "$n" -gt "0"; do kill -0 $pid echo $?