Source checks, too

This commit is contained in:
maride 2017-09-04 21:33:05 +02:00
parent 8ccf3bf899
commit b832df461d

View File

@ -36,7 +36,7 @@ export blockdevice
for check in checks/*.check
do
echo "=> Running check '$check'..."
$check
source $check
if [ "$amf_return" -ne 0 ]; then
echo "=> Check failed. Fix it, maybe."
exit