diff --git a/src/invoker/invoker.c b/src/invoker/invoker.c index c787a61..bf0be78 100644 --- a/src/invoker/invoker.c +++ b/src/invoker/invoker.c @@ -449,7 +449,8 @@ static int invoke(int prog_argc, char **prog_argv, char *prog_name, if (fd == -1) { // 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) { @@ -463,7 +464,7 @@ static int invoke(int prog_argc, char **prog_argv, char *prog_name, } if (newPid != 0) /* parent process */ { - return; + return 0; } } diff --git a/src/launcher/daemon.cpp b/src/launcher/daemon.cpp index e001ea8..1dd142f 100644 --- a/src/launcher/daemon.cpp +++ b/src/launcher/daemon.cpp @@ -163,7 +163,7 @@ void Daemon::run() if (invoker_pid != 0) { // store booster - invoker pids pair - pid_t booster_pid; + pid_t booster_pid = 0; if (MBooster::type() == msg) { booster_pid = MBooster::processId();