aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/linksys-image.sh
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-07-16 22:19:31 -1000
committerDaniel Golle <daniel@makrotopia.org>2020-11-09 10:54:29 +0000
commitfac98f1c54a16073e28ab11adf195f9917a30ef6 (patch)
tree121cbb4d3ee66ee78e3b33ce782dd5f20ac81c19 /scripts/linksys-image.sh
parent91a0dc5161e25085a01edd66b1d8da19593dcc4a (diff)
downloadupstream-fac98f1c54a16073e28ab11adf195f9917a30ef6.tar.gz
upstream-fac98f1c54a16073e28ab11adf195f9917a30ef6.tar.bz2
upstream-fac98f1c54a16073e28ab11adf195f9917a30ef6.zip
scripts: mkhash fix return code handling
If hashing a file fails mkhash shouldn't just silently fail. Now check after each call of `hash_file()` the return and exit early in case of errors. The return value which was previously ignored and would always return 0. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts/linksys-image.sh')
0 files changed, 0 insertions, 0 deletions