Browse Source

fix drop_priv inetd check

Bryan Heden 8 years ago
parent
commit
13c2dcf9cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/nrpe.c

+ 1 - 1
src/nrpe.c

@@ -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 */