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
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user