Prefer the simple solutions.

This commit is contained in:
maride 2017-07-30 23:55:14 +02:00
parent 365bf54972
commit 696cb9f9fc

View File

@ -26,7 +26,7 @@ read blockdevice
for check in checks/*.check
do
echo "=> Running check '$check'..."
$($check)
$check
return=$?
if [ "$return" -ne 0 ]; then
echo "=> Check failed. Fix it, maybe."
@ -37,7 +37,7 @@ done
for step in steps/*.step
do
echo "=> Running step '$step'..."
$($step)
$step
return=$?
if [ "$return" -ne 0 ]; then
echo "=> Step failed. That is weird. Sorry. Check logs maybe."