ngircd.init: Fix non-POSIX "==" test operator

This commit is contained in:
Alexander Barton 2015-08-27 00:10:18 +02:00
parent ccc899c7f4
commit a1ce3fc779
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# ngIRCd start and stop script for Debian-based systems # 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 ### BEGIN INIT INFO
@ -37,7 +37,7 @@ log_daemon_msg() {
echo -n "$*" echo -n "$*"
} }
log_end_msg() { log_end_msg() {
[ "$1" == "0" ] && echo "." || echo " failed!" [ "$1" = "0" ] && echo "." || echo " failed!"
} }
log_failure_msg() { log_failure_msg() {
echo "$*" echo "$*"