return ESRCH when team isn't found by name.

This commit is contained in:
Rene Gollent
2013-04-20 09:23:00 -04:00
parent 4ab6221d9a
commit 8c1b20b862
+1 -1
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;
}