From 1eee79a11c1b3594f055b01e387c49c9a6e80005 Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Mon, 2 Jul 2018 14:13:30 +0000 Subject: 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 --- regress/cfgmatchlisten.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/cfgmatchlisten.sh') 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 @@ -# $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 -- cgit v1.2.3