mirror of
https://github.com/akatrevorjay/edid-generator.git
synced 2026-01-15 23:50:28 +01:00
Merge pull request #29 from nazarewk/master
stop ignoring validation errors
This commit is contained in:
@@ -121,9 +121,13 @@ if [[ -z "$f" || "$f" == "-h" ]]; then
|
||||
fi
|
||||
|
||||
echo "Searching for modelines in '$f'"
|
||||
retcode=0
|
||||
while read; do
|
||||
# trim
|
||||
REPLY=($=REPLY)
|
||||
[[ -n "$REPLY" ]] || continue
|
||||
template-S ${(@)REPLY} || :
|
||||
if ! template-S ${(@)REPLY} ; then
|
||||
retcode=1
|
||||
fi
|
||||
done < $f
|
||||
exit $retcode
|
||||
|
||||
Reference in New Issue
Block a user