diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2020-04-21 23:14:59 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2020-04-21 23:14:59 +0000 |
commit | ac88cb9ffab7e7a7c65624734db715597d9be9f3 (patch) | |
tree | 78f6f44998c8b2dfd0b6731c56354c8f9be6caa6 | |
parent | fb36fd4732b9c768036da8052d50a4fa95f5e027 (diff) |
Backslash '$' at then end of string. Prevents warning on some shells.
-rw-r--r-- | regress/usr.bin/ssh/keygen-comment.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/keygen-comment.sh b/regress/usr.bin/ssh/keygen-comment.sh index 74a734af771..af571d39035 100644 --- a/regress/usr.bin/ssh/keygen-comment.sh +++ b/regress/usr.bin/ssh/keygen-comment.sh @@ -11,7 +11,7 @@ check_fingerprint () { if ! ${SSHKEYGEN} -l -E sha256 -f $file > $OBJ/$t-fgp ; then fail "ssh-keygen -l failed for $t-key" fi - if ! egrep "^([0-9]+) SHA256:(.){43} ${comment} \(.*\)$" \ + if ! egrep "^([0-9]+) SHA256:(.){43} ${comment} \(.*\)\$" \ $OBJ/$t-fgp >/dev/null 2>&1 ; then fail "comment is not correctly recovered for $t-key" fi |