mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
comsat: Don't return from the child
Fixes: 91629228e3
MFC after: 1 week
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D51581
This commit is contained in:
parent
4a4338d944
commit
e40a2c4927
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ notify(struct utmpx *utp, char file[], off_t offset, int folder)
|
|||
initgroups(p->pw_name, p->pw_gid) == -1 ||
|
||||
setgid(p->pw_gid) == -1 ||
|
||||
setuid(p->pw_uid) == -1)
|
||||
return;
|
||||
_exit(1);
|
||||
|
||||
if (stb.st_mode & S_IXUSR) {
|
||||
(void)fprintf(tp,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue