Parcourir la source

fix drop_priv inetd check

Bryan Heden il y a 8 ans
Parent
commit
13c2dcf9cf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 */