소스 검색

fix drop_priv inetd check

Bryan Heden 8 년 전
부모
커밋
13c2dcf9cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 */