mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: fix a CI script to 'properly fail' on Windows (#1270)
This commit is contained in:
parent
19dd2834fb
commit
07dad2a0ef
@ -114,6 +114,9 @@ git ls-tree -r HEAD | while IFS='' read line; do
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
# see http://unix.stackexchange.com/a/213112
|
||||
err=$?
|
||||
if [[ $err -ne 0 ]]; then exit $err; fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user