From: Michael Andres Date: Tue, 23 Nov 2010 10:08:29 +0000 (+0100) Subject: Print error message if 'zypper ps' fails. (bnc #655402) X-Git-Tag: 1.5.2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4654531dd7ce58b460f952c4b243d73fcdfb8915;p=platform%2Fupstream%2Fzypper.git Print error message if 'zypper ps' fails. (bnc #655402) --- diff --git a/src/utils/misc.cc b/src/utils/misc.cc index 9467a3f..08e87d8 100644 --- a/src/utils/misc.cc +++ b/src/utils/misc.cc @@ -402,8 +402,8 @@ void list_processes_using_deleted_files(Zypper & zypper) } catch(const zypp::Exception & e) { - if (zypper.out().verbosity() > Out::NORMAL) - zypper.out().error(e, _("Check failed:")); + zypper.out().error(e, _("Check failed:")); + return; } Table t;