[Linux-cluster] CommuniGate as service?

Stefan Hirsch stefan.hirsch at nsn.com
Mon Jun 18 08:01:56 UTC 2007



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




More information about the Linux-cluster mailing list