diff --git a/debian/changelog b/debian/changelog index 5629005..8b779a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +applauncherd (1.1.0) unstable; urgency=low + + * Fixes: NB#248543 - [SSU]:Error seen at 'invoker: error: Can't send signal to application: No such process ' + + -- Juha Lintula Tue, 14 Jun 2011 14:55:06 +0300 + applauncherd (0.30.1) unstable; urgency=low * Changes: Deprecate MDeclarativeCache::applicationDirPath() and MDeclarativeCache::applicationFilePath(). diff --git a/src/invoker/invoker.c b/src/invoker/invoker.c index 91c8910..ee1f6d9 100644 --- a/src/invoker/invoker.c +++ b/src/invoker/invoker.c @@ -89,7 +89,19 @@ static void sig_forwarder(int sig) { if (kill(g_invoked_pid, sig) != 0) { - report(report_error, "Can't send signal to application: %s \n", strerror(errno)); + if (sig == SIGTERM && errno == ESRCH) + { + report(report_info, + "Can't send signal SIGTERM to application [%i] " + "because application is already terminated. \n", + g_invoked_pid); + } + else + { + report(report_error, + "Can't send signal %i to application [%i]: %s \n", + sig, g_invoked_pid, strerror(errno)); + } } // Restore signal handlers