From b681e71a06641a5b861c58c5c34a0db04d262022 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 26 Oct 2022 08:39:23 +0200 Subject: [PATCH] Errors (really messages) are always shown in srv_open(). --- data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;