[openssh-commits] [openssh] 02/02: upstream: Use egrep when searching for an anchored string.
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jan 12 18:31:56 AEDT 2022
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 4bc2ba6095620a4484b708ece12842afd8c7685b
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Wed Jan 12 07:18:37 2022 +0000
upstream: Use egrep when searching for an anchored string.
OpenBSD-Regress-ID: dd114a2ac27ac4b06f9e4a586d3f6320c54aeeb4
---
regress/agent-restrict.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regress/agent-restrict.sh b/regress/agent-restrict.sh
index 0ddef383..bdd24ffb 100644
--- a/regress/agent-restrict.sh
+++ b/regress/agent-restrict.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: agent-restrict.sh,v 1.2 2022/01/04 07:20:33 djm Exp $
+# $OpenBSD: agent-restrict.sh,v 1.3 2022/01/12 07:18:37 dtucker Exp $
# Placed in the Public Domain.
tid="agent restrictions"
@@ -328,7 +328,7 @@ if test ! -z "\$me" ; then
cat \$SSH_USER_AUTH
fi
echo AGENT
-$SSHADD -L | grep ^ssh | cut -d" " -f-2 | sort
+$SSHADD -L | egrep "^ssh" | cut -d" " -f-2 | sort
if test -z "\$next" ; then
touch $OBJ/done
echo "FINISH"
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list