Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pactree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 5e98f794..997ba466 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -162,6 +162,7 @@ static int register_syncs(void) {
fp = fopen(configfile, "r");
if(!fp) {
+ fprintf(stderr, "error: config file %s could not be read\n", configfile);
return 1;
}
@@ -463,7 +464,6 @@ int main(int argc, char *argv[])
if(searchsyncs) {
if(register_syncs() != 0) {
- fprintf(stderr, "error: failed to register sync DBs\n");
ret = 1;
goto finish;
}