Errors (really messages) are always shown in srv_open().

This commit is contained in:
default 2022-10-26 08:39:23 +02:00
parent acc2bb1549
commit b681e71a06

2
data.c
View File

@ -76,7 +76,7 @@ int srv_open(char *basedir)
}
}
if (ret == 0 && error != NULL)
if (error != NULL)
srv_log(error);
return ret;