mirror of https://github.com/fail2ban/fail2ban
BF: removing minor bashism in ipmasq example file (closes: #530078). Thanks Raphael Geissert
parent
af81bac456
commit
213954466f
|
@ -18,7 +18,7 @@ if [ -s $_INITSCRIPT ]; then
|
|||
s/.*socket\s*=\s*\(\S\+\).*/\1/p;q}' $_CONFIG 2>/dev/null`
|
||||
[ -z "$SOCKFILE" ] && SOCKFILE="/tmp/$_NAME.sock"
|
||||
if [ -S "$SOCKFILE" ]; then # Is daemon running ?
|
||||
if [ "$SHOWRULES" == "yes" ]; then
|
||||
if [ "$SHOWRULES" = "yes" ]; then
|
||||
echo "#: Reinitializing $_NAME"
|
||||
echo $_INITSCRIPT force-reload
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue