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