Changes: fix for Bug 187780

pull/1/head
Alexey Shilov 15 years ago
parent c9cbbdd765
commit bd12b73119

@ -449,7 +449,8 @@ static int invoke(int prog_argc, char **prog_argv, char *prog_name,
if (fd == -1) if (fd == -1)
{ {
// connection with launcher is broken, try to launch application via execve // connection with launcher is broken, try to launch application via execve
warning("Connection with launcher is broken \n"); warning("Connection with launcher process is broken \n");
warning("Try to start application as a binary executable without launcher... \n");
if(!wait_term) if(!wait_term)
{ {
@ -463,7 +464,7 @@ static int invoke(int prog_argc, char **prog_argv, char *prog_name,
} }
if (newPid != 0) /* parent process */ if (newPid != 0) /* parent process */
{ {
return; return 0;
} }
} }

@ -163,7 +163,7 @@ void Daemon::run()
if (invoker_pid != 0) if (invoker_pid != 0)
{ {
// store booster - invoker pids pair // store booster - invoker pids pair
pid_t booster_pid; pid_t booster_pid = 0;
if (MBooster::type() == msg) if (MBooster::type() == msg)
{ {
booster_pid = MBooster::processId(); booster_pid = MBooster::processId();

Loading…
Cancel
Save