forked from josch/mmdebstrap
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()
This commit is contained in:
parent
da4de7cfdf
commit
af13116336
1 changed files with 0 additions and 3 deletions
|
@ -137,9 +137,6 @@ sub warning {
|
||||||
}
|
}
|
||||||
|
|
||||||
sub error {
|
sub error {
|
||||||
if ($verbosity_level == 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
# if error() is called with the string from a previous error() that was
|
# 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
|
# caught inside an eval(), then the string will have a newline which we
|
||||||
# are stripping here
|
# are stripping here
|
||||||
|
|
Loading…
Reference in a new issue