diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-07-02 14:13:31 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-07-02 14:13:31 +0000 |
commit | b83ff4583a56de37e964fecd2a480afcc204fcd0 (patch) | |
tree | 0661b6ab3edb67b043eb985b9769ac963474ec4f /regress/usr.bin/ssh/cfgmatchlisten.sh | |
parent | 641a3532aa810ee5265ca1aa991c6b84a185bf8a (diff) |
One ampersand is enough to backgroud an process. OpenBSD doesn't seem
to mind, but some platforms in -portable object to the second.
Diffstat (limited to 'regress/usr.bin/ssh/cfgmatchlisten.sh')
-rw-r--r-- | regress/usr.bin/ssh/cfgmatchlisten.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/cfgmatchlisten.sh b/regress/usr.bin/ssh/cfgmatchlisten.sh index 470e55c4644..ca2f407a50e 100644 --- a/regress/usr.bin/ssh/cfgmatchlisten.sh +++ b/regress/usr.bin/ssh/cfgmatchlisten.sh @@ -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 |