Skip to content

Commit

Permalink
fix drop_priv inetd check
Browse files Browse the repository at this point in the history
  • Loading branch information
hedenface committed Aug 30, 2017
1 parent bc277e0 commit 13c2dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2370,7 +2370,7 @@ int drop_privileges(char *user, char *group, int full_drop)
struct group *grp;
struct passwd *pw;

if (use_inetd == FALSE)
if (use_inetd == TRUE)
return OK;

/* set effective group ID */
Expand Down

0 comments on commit 13c2dcf

Please sign in to comment.