}
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;