Fixed == bashism (Closes: #464647). Thanks Raphael Geisser

pull/3/head
Yaroslav Halchenko 2008-02-07 22:47:38 -05:00
parent fa21222c63
commit 0da36545d3
1 changed files with 1 additions and 1 deletions

View File

@ -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"