feat(src/externals/single-application/SingleApplication): log SIGPIPE on GNU Linux

This commit is contained in:
Ronan Abhamon 2017-04-27 14:11:22 +02:00
parent ae37c48308
commit 5a149a729d

View file

@ -255,6 +255,10 @@ void SingleApplicationPrivate::connectToPrimary (int msecs, char connectionType)
}
cout << "[PROCESS ABNORMALLY TERMINATED]: " << signum << endl;
#ifdef Q_OS_LINUX
cout << "Please to remove your ~/.ICEauthority file and rerun." << endl;
#endif // ifdef Q_OS_UNIX
::exit(128 + signum);
}