#883 do not use argv[0] in syslog log message

Before:

Dec  3 11:18:12 ogLab /opt/opengnsys/sbin/ogAdmServer[1025]: server closing connection to 192.168.56.10:50476

After this patch:

Dec  3 11:18:12 ogLab ogAdmServer[1025]: server closing connection to 192.168.56.10:50476
remotes/github/pjlink
OpenGnSys Support Team 2018-12-05 14:01:20 +01:00
parent 3dbe47fb1e
commit b11b753b19
1 changed files with 1 additions and 1 deletions

View File

@ -3727,7 +3727,7 @@ int main(int argc, char *argv[])
int activo=1;
int i;
openlog(argv[0], LOG_PID, LOG_DAEMON);
openlog("ogAdmServer", LOG_PID, LOG_DAEMON);
/*--------------------------------------------------------------------------------------------------------
Validación de parámetros de ejecución y lectura del fichero de configuración del servicio