Changes: invoker's receiving of booster process exit code refactoring

pull/1/head
Alexey Shilov 15 years ago
parent 51318346cc
commit b1631e0968

@ -231,8 +231,14 @@ static uint32_t invoker_recv_exit(int fd)
invoke_recv_msg(fd, &action); invoke_recv_msg(fd, &action);
if (action != INVOKER_MSG_EXIT) if (action != INVOKER_MSG_EXIT)
die(1, "receiving bad exit status (%08x)\n", action); {
// probably boosted application process was killed somehow
// let's get applauncherd process some time to cope with this situation
sleep(1);
// if nothing happend, just exit with error message
die(1, "receiving bad exit status (%08x)\n", action);
}
/* Receive pid. */ /* Receive pid. */
invoke_recv_msg(fd, &status); invoke_recv_msg(fd, &status);
return status; return status;

Loading…
Cancel
Save