Ver Fonte

_set_rc: command not found reported by init script

Fix for https://github.com/NagiosEnterprises/nrpe/issues/46
John C. Frickson há 9 anos atrás
pai
commit
8b49fc3b11
1 ficheiros alterados com 1 adições e 0 exclusões
  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
 test -x $NRPE_BIN || exit 5
 
 
 RETVAL=0
 RETVAL=0
+_set_rc (){ return; }
 
 
 # Default these commands/functions to RedHat/CentOS etc. values
 # Default these commands/functions to RedHat/CentOS etc. values
 MSG_CMD="echo -n"
 MSG_CMD="echo -n"