return ESRCH when team isn't found by name.
This commit is contained in:
parent
4ab6221d9a
commit
8c1b20b862
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user