artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d267255
)
Use egrep when searching for an anchored string.
author
dtucker
<dtucker@openbsd.org>
Wed, 12 Jan 2022 07:18:37 +0000
(07:18 +0000)
committer
dtucker
<dtucker@openbsd.org>
Wed, 12 Jan 2022 07:18:37 +0000
(07:18 +0000)
regress/usr.bin/ssh/agent-restrict.sh
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/agent-restrict.sh
b/regress/usr.bin/ssh/agent-restrict.sh
index
0ddef38
..
bdd24ff
100644
(file)
--- a/
regress/usr.bin/ssh/agent-restrict.sh
+++ b/
regress/usr.bin/ssh/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"