summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 11:23:28 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 11:23:28 +0100
commitf66265eb6cce45bdf75604894e8bcb4052c3c99d (patch)
treeb338a225da47e12e3d9d387c8fec5bd3716b2cb7 /mk
parent9583a3919ca06cb67b2cdda34b1972a3051d0cb0 (diff)
parent974bdbb38159d90b90eeff68220c7464b418866d (diff)
Merge branch 'master' into 25.06_branch
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"