Removed restart message from xml (#298942)
authorThomas Goettlicher <tgoettlicher@suse.de>
Mon, 13 Aug 2007 13:47:52 +0000 (13:47 +0000)
committerThomas Goettlicher <tgoettlicher@suse.de>
Mon, 13 Aug 2007 13:47:52 +0000 (13:47 +0000)
src/zypper-misc.cc

index 37cc8a3..045b7f8 100644 (file)
@@ -1419,11 +1419,7 @@ int solve_and_commit () {
        }
   else if (retv == ZYPPER_EXIT_INF_RESTART_NEEDED)
        {
-               if (gSettings.machine_readable)
-           cout <<  "<message type=\"warning\" text=\"" << _("One of installed patches affects the package"
-      " manager itself, thus it requires restart before executing"
-      " next operations.") << "\">" << endl;
-               else    
+               if (!gSettings.machine_readable)
                        cout << _("WARNING: One of installed patches affects the package"
       " manager itself, thus it requires restart before executing"
       " next operations.") << endl;