From 1f33271b4440ebfac89030ef9ae2b7f723a64f05 Mon Sep 17 00:00:00 2001 From: Thomas Goettlicher Date: Tue, 14 Aug 2007 11:29:10 +0000 Subject: [PATCH] fix missing tag in xml output --- src/zypper.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/zypper.cc b/src/zypper.cc index 964e327..36b5176 100644 --- a/src/zypper.cc +++ b/src/zypper.cc @@ -1404,6 +1404,10 @@ int safe_one_command(int argc, char **argv) cerr << ex.asUserString() << endl; report_a_bug(cerr); } + + if ( gSettings.machine_readable ) + cout << "" << endl; + return ret; } @@ -1507,9 +1511,6 @@ int main(int argc, char **argv) } } say_goodbye __attribute__ ((__unused__)); - if ( gSettings.machine_readable ) - cout << "" << endl; - // set locale setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); -- 2.7.4