+2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * utils/start-stop-daemon.c (do_stop): Do not print 'failed to kill'
+ warning when doing pid polling.
+
2008-01-01 Guillem Jover <guillem@debian.org>
* src/archives.c (archivefiles): Remove pointless strdup for execvp
Closes: #214684
Thanks to Andreas Metzler and Ian Zimmerman.
* Do not use strdup for execvp arguments. Closes: #379027
+ * Do not print 'failed to kill' warning in start-stop-daemon when polling
+ the pid. Closes: #157305, #352554
+ Thanks to Samuel Thibault.
[ Updated dpkg translations ]
* Norwegian Bokmål (Hans Fredrik Nordhaug). Closes: #457918
push(&killed, p->pid);
(*n_killed)++;
} else {
- printf("%s: warning: failed to kill %d: %s\n",
- progname, p->pid, strerror(errno));
+ if (signal_nr)
+ printf("%s: warning: failed to kill %d: %s\n",
+ progname, p->pid, strerror(errno));
(*n_notkilled)++;
}
}