diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 15:04:25 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-10 15:04:25 +0000 |
commit | 75800d4ec283b260e679c729a5a064b87824367c (patch) | |
tree | 6d5dc9ffff5e7b951721f9235ec1b3844740ae72 | |
parent | 6b7b9787d52ac5e7f36ba18f697bb727d43c4915 (diff) | |
download | pacman-75800d4ec283b260e679c729a5a064b87824367c.tar.xz |
pacman should work without its configuration file!
-rw-r--r-- | src/pacman/conf.c | 3 |
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)) { |