summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rwxr-xr-xmk5
1 files changed, 2 insertions, 3 deletions
diff --git a/mk b/mk
index f358bc3a..8da15f5b 100755
--- a/mk
+++ b/mk
@@ -26,14 +26,13 @@ main()
case "$cmd" in
version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;;
release|download|inject) $cmd "$@" ;;
- -*) return 0 ;;
+ -*) return 1 ;;
*) err "bad command" ;;
esac
set -u -e # some commands disable them. turn them on!
- return 1
}
-main "$@" || exit 0
+main "$@" && exit 0
. "include/tree.sh"