mirror of https://github.com/fail2ban/fail2ban
Fixed == bashism (Closes: #464647). Thanks Raphael Geisser
parent
fa21222c63
commit
0da36545d3
|
@ -94,7 +94,7 @@ do_start()
|
||||||
|
|
||||||
if [ -e "$SOCKFILE" ]; then
|
if [ -e "$SOCKFILE" ]; then
|
||||||
log_failure_msg "Socket file $SOCKFILE is present"
|
log_failure_msg "Socket file $SOCKFILE is present"
|
||||||
[ "$1" == "force-start" ] \
|
[ "$1" = "force-start" ] \
|
||||||
&& log_success_msg "Starting anyway as requested" \
|
&& log_success_msg "Starting anyway as requested" \
|
||||||
|| return 2
|
|| return 2
|
||||||
DAEMON_ARGS="$DAEMON_ARGS -x"
|
DAEMON_ARGS="$DAEMON_ARGS -x"
|
||||||
|
|
Loading…
Reference in New Issue