From 4654531dd7ce58b460f952c4b243d73fcdfb8915 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Tue, 23 Nov 2010 11:08:29 +0100 Subject: [PATCH] Print error message if 'zypper ps' fails. (bnc #655402) --- src/utils/misc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4