Fix output with no verbose

This commit is contained in:
Evgeny Sinelnikov 2022-04-07 22:33:14 +04:00
parent 574a39e17f
commit 95b4717318

View File

@ -39,9 +39,9 @@ run()
else
echo "--- $func ---"
$func
fi && msg_done "$2" || $msg_error "$2"
echo ---
echo
fi && (test -z $verbose || echo ---; msg_done "$2") || (test -z $verbose || echo ---; $msg_error "$2")
test -z $verbose || echo ---
test -z $verbose || echo
}
check_hostnamectl()