From: Alexander Barton Date: Wed, 26 Aug 2015 22:10:18 +0000 (+0200) Subject: ngircd.init: Fix non-POSIX "==" test operator X-Git-Tag: rel-23-rc1~7 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=a1ce3fc779c66f1febcc4c861cfd593a1ab48002 ngircd.init: Fix non-POSIX "==" test operator --- diff --git a/contrib/Debian/ngircd.init b/contrib/Debian/ngircd.init index 5c8c46ca..8127e8fd 100755 --- a/contrib/Debian/ngircd.init +++ b/contrib/Debian/ngircd.init @@ -1,7 +1,7 @@ #!/bin/sh # # ngIRCd start and stop script for Debian-based systems -# Copyright 2008-2013 Alexander Barton +# Copyright 2008-2015 Alexander Barton # ### BEGIN INIT INFO @@ -37,7 +37,7 @@ log_daemon_msg() { echo -n "$*" } log_end_msg() { - [ "$1" == "0" ] && echo "." || echo " failed!" + [ "$1" = "0" ] && echo "." || echo " failed!" } log_failure_msg() { echo "$*"