From 0da36545d3dbaad72026a89de4f117107b8353b7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 7 Feb 2008 22:47:38 -0500 Subject: [PATCH] Fixed == bashism (Closes: #464647). Thanks Raphael Geisser --- debian/fail2ban.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/fail2ban.init b/debian/fail2ban.init index 5522f53b..c2bd3729 100755 --- a/debian/fail2ban.init +++ b/debian/fail2ban.init @@ -94,7 +94,7 @@ do_start() if [ -e "$SOCKFILE" ]; then log_failure_msg "Socket file $SOCKFILE is present" - [ "$1" == "force-start" ] \ + [ "$1" = "force-start" ] \ && log_success_msg "Starting anyway as requested" \ || return 2 DAEMON_ARGS="$DAEMON_ARGS -x"