return ESRCH when team isn't found by name.
This commit is contained in:
@@ -277,7 +277,7 @@ int kill_by_name(int signum, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
error (0, errno, "%s", name);
|
error (0, ESRCH, "%s", name);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user