Skip to content

Commit 13c2dcf

Browse files
committed
fix drop_priv inetd check
1 parent bc277e0 commit 13c2dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nrpe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2370,7 +2370,7 @@ int drop_privileges(char *user, char *group, int full_drop)
23702370
struct group *grp;
23712371
struct passwd *pw;
23722372

2373-
if (use_inetd == FALSE)
2373+
if (use_inetd == TRUE)
23742374
return OK;
23752375

23762376
/* set effective group ID */

0 commit comments

Comments
 (0)