return ESRCH when team isn't found by name.

This commit is contained in:
Rene Gollent 2013-04-20 09:21:01 -04:00
parent 4ab6221d9a
commit 8c1b20b862

View File

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