diff --git a/NEWS b/NEWS index d04b42e1..ef62e0f2 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ procps-ng-NEXT * ps: Fallback to attr/current for context Debian #786956 * tests: Conditionally add prctl Debian #816237 * pidof: check cmd if space in argv0. GitLab #4 + * kill: report error if cannot kill process #733172 procps-ng-3.3.11 ---------------- diff --git a/skill.c b/skill.c index 91475275..53be72dd 100644 --- a/skill.c +++ b/skill.c @@ -500,6 +500,7 @@ static void __attribute__ ((__noreturn__)) pid = strtol_or_err(argv[i], _("failed to parse argument")); if (!kill((pid_t) pid, signo)) continue; + error(0, errno, "(%d)", pid); exitvalue = EXIT_FAILURE; continue; }