Source checks, too
This commit is contained in:
parent
8ccf3bf899
commit
b832df461d
@ -36,7 +36,7 @@ export blockdevice
|
|||||||
for check in checks/*.check
|
for check in checks/*.check
|
||||||
do
|
do
|
||||||
echo "=> Running check '$check'..."
|
echo "=> Running check '$check'..."
|
||||||
$check
|
source $check
|
||||||
if [ "$amf_return" -ne 0 ]; then
|
if [ "$amf_return" -ne 0 ]; then
|
||||||
echo "=> Check failed. Fix it, maybe."
|
echo "=> Check failed. Fix it, maybe."
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user