Since we are exiting with non-0 -- all msgs should be failures

debian-devel
Yaroslav Halchenko 2012-02-09 13:03:53 -05:00
parent f0da12e58b
commit 7154b3aefd
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ case "$command" in
255)
check_socket
case $? in
1) log_warning_msg " $NAME is not running" && exit 3 ;;
1) log_failure_msg " $NAME is not running" && exit 3 ;;
0) log_failure_msg " $NAME is not running but $SOCKFILE exists" && exit 3 ;;
2) log_failure_msg " $SOCKFILE not readable, status of $NAME is unknown" && exit 3 ;;
3) log_failure_msg " $SOCKFILE exists but not a socket, status of $NAME is unknown" && exit 3 ;;