Fix not exiting on err
This commit is contained in:
@@ -20,9 +20,9 @@ function main() {
|
||||
for i in "$@"; do
|
||||
if ! wait -n 1; then
|
||||
echo "Something died: $?" >&2
|
||||
return 1
|
||||
exit 1
|
||||
fi
|
||||
return 0
|
||||
exit 0
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user