summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2015-08-27 00:10:18 +0200
committerAlexander Barton <alex@barton.de>2015-08-27 00:10:18 +0200
commita1ce3fc779c66f1febcc4c861cfd593a1ab48002 (patch)
treee0ed74bff848bd624fcb78da5b8acacb1c85358f
parentccc899c7f4751ba72dcd7330c55614cf986f0fa3 (diff)
downloadngircd-a1ce3fc779c66f1febcc4c861cfd593a1ab48002.tar.gz
ngircd-a1ce3fc779c66f1febcc4c861cfd593a1ab48002.zip
ngircd.init: Fix non-POSIX "==" test operator
-rwxr-xr-xcontrib/Debian/ngircd.init4
1 files changed, 2 insertions, 2 deletions
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 <alex@barton.de>
+# Copyright 2008-2015 Alexander Barton <alex@barton.de>
 #
 
 ### 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 "$*"