1
0

added function name in log

This commit is contained in:
Daniel Tartavel 2020-06-08 17:00:29 +02:00
parent a4b85fa73c
commit a05861c83f

6
main.c
View File

@ -631,15 +631,9 @@ int main()
sprintf(strlog, "erreur de création du fork: %s", str);
printlog(strlog, WARNING, 0);
}else if (id == 0)
{
if (cfg.commande[0] != 0)
{
printlog(str, INFO, 0);
r = system( str );
}else
{
printlog("no command defined: no command launched", WARNING, 0);
}
exit(r);
}
}else