Selaa lähdekoodia

_set_rc: command not found reported by init script

Fix for https://github.com/NagiosEnterprises/nrpe/issues/46
John C. Frickson 9 vuotta sitten
vanhempi
commit
8b49fc3b11
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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"