diff options
Diffstat (limited to 'sources/ogAdmServer.cpp')
-rw-r--r-- | sources/ogAdmServer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp index c9b1048..1a55554 100644 --- a/sources/ogAdmServer.cpp +++ b/sources/ogAdmServer.cpp @@ -84,6 +84,8 @@ static bool tomaConfiguracion(const char *filecfg) line = fgets(buf, sizeof(buf), fcfg); } + fclose(fcfg); + if (!servidoradm[0]) { syslog(LOG_ERR, "Missing SERVIDORADM in configuration file\n"); return false; |