Fix not exiting on err

master
bel 2020-04-14 02:38:53 +00:00
parent 527e3d490f
commit cf749e7326
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ function main() {
for i in "$@"; do for i in "$@"; do
if ! wait -n 1; then if ! wait -n 1; then
echo "Something died: $?" >&2 echo "Something died: $?" >&2
return 1 exit 1
fi fi
return 0 exit 0
done done
} }