瀏覽代碼

_set_rc: command not found reported by init script

Fix for https://github.com/NagiosEnterprises/nrpe/issues/46
John C. Frickson 9 年之前
父節點
當前提交
8b49fc3b11
共有 1 個文件被更改,包括 1 次插入0 次删除
  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"