Merge pull request #27 from tobiashe/master

fixing issue \#25 Doesn't with other locale
This commit is contained in:
Chai Feng
2020-01-09 12:14:14 +08:00
committed by GitHub
+1 -1
View File
@@ -379,7 +379,7 @@ function die() {
exit 1 exit 1
} }
if ! ufw status 2>/dev/null | grep -Fq "Status: active" ; then if ! eval "LANG=C ufw status 2>/dev/null | grep -Fq \"Status: active\"" ; then
die "UFW is disabled or you are not root user." die "UFW is disabled or you are not root user."
fi fi