[Goodies-commits] r5018 - xfce4-smartpm-plugin/trunk/src
Anders F Bjorklund
afb at xfce.org
Mon Jun 30 22:43:06 CEST 2008
Author: afb
Date: 2008-06-30 20:43:06 +0000 (Mon, 30 Jun 2008)
New Revision: 5018
Modified:
xfce4-smartpm-plugin/trunk/src/xfcesmart.c
Log:
ignore warnings as well as errors
Modified: xfce4-smartpm-plugin/trunk/src/xfcesmart.c
===================================================================
--- xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2008-06-30 19:14:27 UTC (rev 5017)
+++ xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2008-06-30 20:43:06 UTC (rev 5018)
@@ -525,7 +525,7 @@
continue;
}
if (smart->package_manager != PACKAGE_MANAGER_SMART ||
- strstr(p, "error: ") != NULL)
+ (strstr(p, "error: ") != NULL && strstr(p, "warning: ") != NULL))
{
if (strstr(p, "error: ") == 0)
p += strlen("error: ");
More information about the Goodies-commits
mailing list