summaryrefslogtreecommitdiff
path: root/unpenme
diff options
context:
space:
mode:
authoru <u@cletus>2021-09-25 15:06:40 -0400
committeru <u@cletus>2021-09-25 15:06:40 -0400
commitc7bd2e33b6a29fb24df0796d1a7c5bf2e22f35f3 (patch)
tree7e6f3ae322f91ced5a0093ab9c23a53a24854d61 /unpenme
parent971823cdb49ac542f1c3b39992e7bea79c6d16d8 (diff)
regex match shouldn't assume ipv4
Diffstat (limited to 'unpenme')
-rwxr-xr-xunpenme2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpenme b/unpenme
index 7a8dcea..85fb7a3 100755
--- a/unpenme
+++ b/unpenme
@@ -5,7 +5,7 @@ if [ "$(id -u)" -ne 0 ]
5then 5then
6 exec sudo -- "$0" "$@" 6 exec sudo -- "$0" "$@"
7fi 7fi
8sedprog='/ penme host key @ [0-9]+\.[0-9].[0-9]+\.[0-9]+/ d' 8sedprog='/ penme host key @ .*/ d'
9if [ "${0##*/}" = unpenyou ] 9if [ "${0##*/}" = unpenyou ]
10then 10then
11 [ "$1" ] 11 [ "$1" ]