[pacman-dev] CVS update of pacman-lib/lib/libalpm (remove.c)

Aaron Griffin aaron at archlinux.org
Sun Feb 11 19:41:08 EST 2007


    Date: Sunday, February 11, 2007 @ 19:41:08
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/lib/libalpm

Modified: remove.c (1.61 -> 1.62)

This should be an ERROR, not a WARNING


----------+
 remove.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Index: pacman-lib/lib/libalpm/remove.c
diff -u pacman-lib/lib/libalpm/remove.c:1.61 pacman-lib/lib/libalpm/remove.c:1.62
--- pacman-lib/lib/libalpm/remove.c:1.61	Thu Feb  8 03:09:35 2007
+++ pacman-lib/lib/libalpm/remove.c	Sun Feb 11 19:41:08 2007
@@ -183,7 +183,7 @@
 		if(access(file, F_OK) == 0) {
 			/* only return failure if the file ACTUALLY exists and we don't have
 			 * permissions */
-			_alpm_log(PM_LOG_WARNING, _("cannot remove file '%s': %s"), file, strerror(errno));
+			_alpm_log(PM_LOG_ERROR, _("cannot remove file '%s': %s"), file, strerror(errno));
 			return(0);
 		}
 	}




More information about the pacman-dev mailing list