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

10
main.c
View File

@ -632,14 +632,8 @@ int main()
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);
}
printlog(str, INFO, 0);
r = system( str );
exit(r);
}
}else