Switch from returns to exit codes

This commit is contained in:
David Heinemeier Hansson committed 2025-08-31 09:21:02 +02:00
1 parent 9e5b4fc871
commit 4ee48dd238
5 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
for cmd in "$@"; do
command -v "$cmd" &>/dev/null || return 1
command -v "$cmd" &>/dev/null || exit 1
done
return 0
exit 0