summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2018-07-02 14:13:30 +0000
committerDarren Tucker <dtucker@dtucker.net>2018-07-03 00:45:40 +1000
commit1eee79a11c1b3594f055b01e387c49c9a6e80005 (patch)
tree52dbd6f4ec423a21ce7eea6a24ff9cfa8adf775a
parent6301e6c787d4e26bfae1119ab4f747bbcaa94e44 (diff)
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
-rw-r--r--regress/cfgmatchlisten.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/cfgmatchlisten.sh b/regress/cfgmatchlisten.sh
index 470e55c46..ca2f407a5 100644
--- a/regress/cfgmatchlisten.sh
+++ b/regress/cfgmatchlisten.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: cfgmatchlisten.sh,v 1.2 2018/06/19 03:02:17 djm Exp $ 1# $OpenBSD: cfgmatchlisten.sh,v 1.3 2018/07/02 14:13:30 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="sshd_config matchlisten" 4tid="sshd_config matchlisten"
@@ -20,7 +20,7 @@ start_client()
20 return $r 20 return $r
21 fi 21 fi
22 ${SSH} -vvv $fwd "$@" somehost \ 22 ${SSH} -vvv $fwd "$@" somehost \
23 exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' & 23 exec sh -c \'"echo \$\$ > $pidfile; exec sleep 100"\' \
24 >>$TEST_REGRESS_LOGFILE 2>&1 & 24 >>$TEST_REGRESS_LOGFILE 2>&1 &
25 client_pid=$! 25 client_pid=$!
26 # Wait for remote end 26 # Wait for remote end