summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-26 08:39:23 +0200
committerdefault <nobody@localhost>2022-10-26 08:39:23 +0200
commitb681e71a06641a5b861c58c5c34a0db04d262022 (patch)
treea6049b1fc0cb01f909d969982f91608576d01e3e /data.c
parentacc2bb1549e57ac42c6bc1bcf86c6673e17e6419 (diff)
Errors (really messages) are always shown in srv_open().
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 0549604..32727a7 100644
--- a/data.c
+++ b/data.c
@@ -76,7 +76,7 @@ int srv_open(char *basedir)
}
}
- if (ret == 0 && error != NULL)
+ if (error != NULL)
srv_log(error);
return ret;