Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-12 00:41:08 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-12 00:41:08 +0000
commit434d93ccc7ec2df2fd52e9ced52f4e02cb176b31 (patch)
tree17ad5bbd92ca8032925f00a2bbb5c6a68e956c28 /lib
parentb6d991cf7b3f3227d06bdf13e1d515b1cf7c90f4 (diff)
This should be an ERROR, not a WARNING
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 9933d4cc..f230dfa7 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -183,7 +183,7 @@ static int can_remove_file(const char *path)
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);
}
}