Skip to content

Commit

Permalink
ngircd.init: Fix non-POSIX "==" test operator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarton committed Aug 26, 2015
1 parent ccc899c commit a1ce3fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Down Expand Up @@ -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 "$*"
Expand Down

0 comments on commit a1ce3fc

Please sign in to comment.