Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-10 15:04:25 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-10 15:04:25 +0000
commit75800d4ec283b260e679c729a5a064b87824367c (patch)
tree6d5dc9ffff5e7b951721f9235ec1b3844740ae72
parent6b7b9787d52ac5e7f36ba18f697bb727d43c4915 (diff)
pacman should work without its configuration file!
-rw-r--r--src/pacman/conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 0aceecf2..cf3ca9c6 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -56,8 +56,7 @@ int parseconfig(char *file)
fp = fopen(file, "r");
if(fp == NULL) {
- perror(file);
- return(1);
+ return(0);
}
while(fgets(line, PATH_MAX, fp)) {