Bläddra i källkod

A couple more minor changes from testing

John C. Frickson 9 år sedan
förälder
incheckning
5baafb58ef
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 1
      Makefile.in
  2. 1 0
      startup/default-inetd.in

+ 1 - 1
Makefile.in

@@ -68,7 +68,7 @@ install-inetd:
 		exit 1; \
 	fi
 	@if test $(INETD_TYPE) = inetd; then \
-		@grep -E -q "^\W*nrpe\s+" $(INETD_DIR)/$(INETD_FILE) || \
+		grep -E -q "^\W*nrpe\s+" $(INETD_DIR)/$(INETD_FILE) || \
 		   cat startup/$(SRC_INETD) >> $(INETD_DIR)/$(INETD_FILE); \
 	else \
 		echo $(INSTALL) -m 644 startup/$(SRC_INETD) $(INETD_DIR)/$(INETD_FILE); \

+ 1 - 0
startup/default-inetd.in

@@ -1,3 +1,4 @@
+#
 # Enable the following entry to enable the nrpe daemon
 #nrpe stream tcp nowait @nagios_user@ @sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg --inetd
 # Enable the following entry to enable the nrpe daemon if you have tcpwrappers