From 15220a28e1d87f4f82ac3f44b5ed441d78349f96 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Tue, 4 Dec 2007 10:34:36 +0000 Subject: [PATCH] - exit if zypp lock can't be aquired --- src/zypper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zypper.cc b/src/zypper.cc index 64be648..1af6063 100644 --- a/src/zypper.cc +++ b/src/zypper.cc @@ -1134,9 +1134,9 @@ void Zypper::processCommandOptions() cout << "" << msg << "" << endl; else cerr << msg << endl; - + setExitCode(ZYPPER_EXIT_ERR_ZYPP); - return; + throw (ExitRequestException("ZYpp locked")); } } -- 2.7.4