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;