diff options
-rwxr-xr-x | mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,13 +24,14 @@ main() case "$cmd" in version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;; release|download|inject) $cmd "$@" ;; - -*) return 1 ;; + -*) return 0 ;; *) err "bad command" ;; esac set -u -e # some commands disable them. turn them on! + return 1 } -main "$@" && exit 0 +main "$@" || exit 0 . "include/git.sh" . "include/tree.sh" |