Fixed: Set process name (fixes the <Unknown> under Linux and OS X)

This commit is contained in:
kervala 2015-12-28 18:13:37 +01:00
parent a13d92c87a
commit 37caaac787

View file

@ -545,6 +545,9 @@ int main(int argc, char **argv)
strcpy(filename, argv[0]);
// set process name for logs
CLog::setProcessName(filename);
// ignore signal SIGPIPE generated by libwww
signal(SIGPIPE, sigHandler);