Switch from returns to exit codes

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

View File

@@ -2,8 +2,8 @@
for cmd in "$@"; do
if ! command -v "$cmd" &>/dev/null; then
return 0
exit 0
fi
done
return 1
exit 1