[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] CommuniGate as service?





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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]