summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)) {