From af13116336230b416ead93b7acfa0c8a60218aab Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 10 May 2020 13:36:43 +0200 Subject: [PATCH] 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() --- mmdebstrap | 3 --- 1 file changed, 3 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index aa1ad65..5d74790 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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