Changes: Compilation fixed.

pull/1/head
Jussi Lind 15 years ago
parent 1d91fccf7f
commit 072d7e82f6

@ -98,8 +98,7 @@ void Booster::initialize(int initialArgc, char ** initialArgv, int newPipeFd[2])
// Send to the parent process booster respawn delay value
int delay = m_app.delay();
ret = write(pipeFd(1), reinterpret_cast<const void *>(&delay), sizeof(int));
if (ret == -1) {
if (write(pipeFd(1), reinterpret_cast<const void *>(&delay), sizeof(int)) == -1) {
Logger::logError("Booster: Couldn't send respawn delay value to launcher process\n");
}

Loading…
Cancel
Save