summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-10 17:04:25 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-10-10 17:04:25 +0200
commit75800d4ec283b260e679c729a5a064b87824367c (patch)
tree6d5dc9ffff5e7b951721f9235ec1b3844740ae72 /src
parent6b7b9787d52ac5e7f36ba18f697bb727d43c4915 (diff)
downloadpacman-75800d4ec283b260e679c729a5a064b87824367c.tar.gz
pacman-75800d4ec283b260e679c729a5a064b87824367c.tar.xz
pacman should work without its configuration file!
Diffstat (limited to 'src')
-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)) {