forked from saratov/diag-domain-client
Fix output with no verbose
This commit is contained in:
parent
574a39e17f
commit
95b4717318
6
ddiag.sh
6
ddiag.sh
@ -39,9 +39,9 @@ run()
|
|||||||
else
|
else
|
||||||
echo "--- $func ---"
|
echo "--- $func ---"
|
||||||
$func
|
$func
|
||||||
fi && msg_done "$2" || $msg_error "$2"
|
fi && (test -z $verbose || echo ---; msg_done "$2") || (test -z $verbose || echo ---; $msg_error "$2")
|
||||||
echo ---
|
test -z $verbose || echo ---
|
||||||
echo
|
test -z $verbose || echo
|
||||||
}
|
}
|
||||||
|
|
||||||
check_hostnamectl()
|
check_hostnamectl()
|
||||||
|
Loading…
Reference in New Issue
Block a user