Patch from Stephane Billiart to improve ash error message.

This commit is contained in:
Rob Landley 2005-08-14 19:16:51 +00:00
parent 6e98521d68
commit 23246f39ed

View File

@ -6606,7 +6606,7 @@ usage:
} else
pid = number(*argv);
if (kill(pid, signo) != 0) {
sh_warnx("%m\n");
sh_warnx("kill %d: %s", pid, errmsg(errno, NULL));
i = 1;
}
} while (*++argv);