From 8c1b20b862a0fae54486fb75d7592d06753b42af Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sat, 20 Apr 2013 09:21:01 -0400 Subject: [PATCH] return ESRCH when team isn't found by name. --- src/bin/coreutils/src/kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/coreutils/src/kill.c b/src/bin/coreutils/src/kill.c index 6880367244..f65b0cad12 100644 --- a/src/bin/coreutils/src/kill.c +++ b/src/bin/coreutils/src/kill.c @@ -277,7 +277,7 @@ int kill_by_name(int signum, const char *name) } if (!found) - error (0, errno, "%s", name); + error (0, ESRCH, "%s", name); return status; }