instance names may contains dot

This commit is contained in:
Chai Feng 2018-10-03 15:43:11 +08:00
parent 9f25de1d2f
commit be9bdf1782
No known key found for this signature in database
GPG Key ID: 2DCD9A24E523FFD2

View File

@ -6,7 +6,7 @@ PATH="/bin:/usr/bin:/sbin:/usr/sbin"
UFW_ACTION="${1:-help}"
GREP_REGEXP_INSTANCE_NAME="[-_[:alnum:]]\\+"
GREP_REGEXP_INSTANCE_NAME="[-_.[:alnum:]]\\+"
DEFAULT_PROTO=tcp
function ufw-docker--status() {