provide the real exitcodes

provide the exitcode of the task to the user
This commit is contained in:
Marc Schoechlin 2015-01-04 12:59:31 +01:00
parent ea5f4de399
commit dd647f98a5
1 changed files with 3 additions and 1 deletions

View File

@ -589,10 +589,12 @@ case "$1" in
;; ;;
console) console)
invoke_console invoke_console
exit $?
;; ;;
stop) stop)
invoke_stop invoke_stop
;; ;;
*) *)
invoke_task invoke_task checkforrunning
exit $?
esac esac