do not hide errors even with --quiet

This change also fixes the problem that when --quiet is given, an error
will never lead to a non-zero exit status because the error function
returns before it runs die()
pull/1/head
parent da4de7cfdf
commit af13116336
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -137,9 +137,6 @@ sub warning {
}
sub error {
if ($verbosity_level == 0) {
return;
}
# if error() is called with the string from a previous error() that was
# caught inside an eval(), then the string will have a newline which we
# are stripping here

Loading…
Cancel
Save