diff options
author | u <u@cletus> | 2021-09-25 15:06:40 -0400 |
---|---|---|
committer | u <u@cletus> | 2021-09-25 15:06:40 -0400 |
commit | c7bd2e33b6a29fb24df0796d1a7c5bf2e22f35f3 (patch) | |
tree | 7e6f3ae322f91ced5a0093ab9c23a53a24854d61 | |
parent | 971823cdb49ac542f1c3b39992e7bea79c6d16d8 (diff) |
regex match shouldn't assume ipv4
-rwxr-xr-x | unpenme | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ if [ "$(id -u)" -ne 0 ] | |||
5 | then | 5 | then |
6 | exec sudo -- "$0" "$@" | 6 | exec sudo -- "$0" "$@" |
7 | fi | 7 | fi |
8 | sedprog='/ penme host key @ [0-9]+\.[0-9].[0-9]+\.[0-9]+/ d' | 8 | sedprog='/ penme host key @ .*/ d' |
9 | if [ "${0##*/}" = unpenyou ] | 9 | if [ "${0##*/}" = unpenyou ] |
10 | then | 10 | then |
11 | [ "$1" ] | 11 | [ "$1" ] |