Quellcode durchsuchen

_set_rc: command not found reported by init script

Fix for https://github.com/NagiosEnterprises/nrpe/issues/46
John C. Frickson vor 9 Jahren
Ursprung
Commit
8b49fc3b11
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      startup/default-init.in

+ 1 - 0
startup/default-init.in

@@ -29,6 +29,7 @@ PID_FILE=@piddir@/nrpe.pid
 test -x $NRPE_BIN || exit 5
 
 RETVAL=0
+_set_rc (){ return; }
 
 # Default these commands/functions to RedHat/CentOS etc. values
 MSG_CMD="echo -n"