سلام دوستان کسی میدونه چجوری میشه این کد بش رو ران کرد ؟

وقتی من chmod 777 میدم و بصورت
کد:
./bash.sh
ران میکنم به ارور زیر میخورم
کد:
./bashExample.sh: line 4: exit: 0RETVAL=0: numeric argument required

کد داخل فایل bash.sh من به شرح زیر هست
کد:
#!/bin/sh
# chkconfig: 345 95 5
. /etc/init.d/functions
test -x [SERVER_BASH_LOCATION] || exit 0RETVAL=0
prog=[SERVER_WORLD_ID]Daemon
proc=[SERVER_PID_LOCATION]
bin=[SERVER_BASH_LOCATION]
start() {
    # Check if Daemon is already running
    if [ ! -f $proc ]; then
        echo -n $"Starting $prog: "
        daemon $bin
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch $proc
        echo
    fi
        return $RETVAL
}

stop() {
    echo -n $"Stopping $prog: "
    killproc $bin
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f $proc
    echo
        return $RETVAL
}

restart() {
    stop
    start
}

reload() {
    restart
}

status_at() {
     status $bin
}

case "$1" in
start)
    start
    ;;
stop)
    stop
    ;;
reload|restart)
    restart
    ;;
condrestart)
        if [ -f $proc ]; then
            restart
        fi
        ;;
status)
    status_at
    ;;
*)

echo $"Usage: $0 {start|stop|restart|condrestart|status}"
    exit 1
esac

exit $?
exit $RETVAL
کسی میدونه چه مشکلی داره یا با چه دستوری باید این رو ران کنم ؟