Skip to content
Permalink
Browse files

strip non-alphanumeric chars from service name - closes #1190

  • Loading branch information...
JedMeister committed Sep 4, 2018
1 parent 5d15957 commit d1e61c4767c2148663429d63bc3a42925af8cbcd
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins.d/Lets_Encrypt/dehydrated-wrapper
@@ -112,7 +112,8 @@ copy_if_not_found() {
}

check_80() {
netstat -ltpn | grep ":80 " | head -1 | cut -d/ -f2 | sed -e 's|[[:space:]].*$||'
netstat -ltpn | grep ":80 " | head -1 | cut -d/ -f2 \
| sed -e 's|[[:space:]].*$||; s|[^a-zA-Z0-9]||'
}

stop_server() {

0 comments on commit d1e61c4

Please sign in to comment.
You can’t perform that action at this time.