ext Eric Schneider wrote:
#ADDED status) status $PROG RETVAL=$? ;; #/ADDED *) echo "Usage: $0 [ start | stop | status ]" exit 1 esac exit 0
^^^^^^ The script exits always with zero, except for the wildcard part, otherwise $RETVAL is ignored. /Stefan -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster