upstream: One ampersand is enough to backgroud an process. OpenBSD

doesn't seem to mind, but some platforms in -portable object to the second.

OpenBSD-Regress-ID: d6c3e404871764343761dc25c3bbe29c2621ff74
This commit is contained in:
dtucker@openbsd.org 2018-07-02 14:13:30 +00:00 committed by Darren Tucker
parent 6301e6c787
commit 1eee79a11c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: cfgmatchlisten.sh,v 1.2 2018/06/19 03:02:17 djm Exp $
# $OpenBSD: cfgmatchlisten.sh,v 1.3 2018/07/02 14:13:30 dtucker Exp $
# Placed in the Public Domain.
tid="sshd_config matchlisten"
@ -20,7 +20,7 @@ start_client()
return $r
fi
${SSH} -vvv $fwd "$@" somehost \
exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' &
exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' \
>>$TEST_REGRESS_LOGFILE 2>&1 &
client_pid=$!
# Wait for remote end