Fixes: NB#248543 - [SSU]:Error seen at 'invoker: error: Can't send signal to application: No such process '

RevBy: Pertti Kellomaki
pull/1/head
Juha Lintula 15 years ago
parent 142ccace01
commit 438488b6af

6
debian/changelog vendored

@ -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 <juha.lintula@nokia.com> Tue, 14 Jun 2011 14:55:06 +0300
applauncherd (0.30.1) unstable; urgency=low
* Changes: Deprecate MDeclarativeCache::applicationDirPath() and MDeclarativeCache::applicationFilePath().

@ -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

Loading…
Cancel
Save