mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 23:42:16 +02:00
lbmk: exit 1 if script failed
script is -e anyway, so this is redundant, but best put it here anyway. it can only help. correct behaviour is always to fail on error, except in certain cases that would be handled on a case-by-case basis in each script
This commit is contained in:
@@ -80,7 +80,7 @@ main()
|
|||||||
printf "Invalid option for '%s'." ${mode}
|
printf "Invalid option for '%s'." ${mode}
|
||||||
die "Run: ${0} ${mode} list'."
|
die "Run: ${0} ${mode} list'."
|
||||||
fi
|
fi
|
||||||
"${buildpath}/${mode}/${option}" $@
|
"${buildpath}/${mode}/${option}" $@ || exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
./.gitcheck clean
|
./.gitcheck clean
|
||||||
|
|||||||
Reference in New Issue
Block a user