summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2009-12-30 04:25:36 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2009-12-30 04:25:36 +0000
commit7d8d7fcc557fdf46025ea3450f28873d4d30ee48 (patch)
tree222eb0eaee764bb52ff8a6b0c6d0d5722dea51c5
parenta887814e5e4eab43fcf46c907e2a68289e73f36b (diff)
downloaddistcc-git-7d8d7fcc557fdf46025ea3450f28873d4d30ee48.tar.gz
Apply patch from Tal <tal.bav@gmail.com>:
In packaging/RedHat/init.d/distcc the executable is once refereed to using the variable EXEC, and once as with the explicit expected name. Change it to always use the EXEC variable.
-rw-r--r--packaging/RedHat/init.d/distcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RedHat/init.d/distcc b/packaging/RedHat/init.d/distcc
index f892fcf..d002f30 100644
--- a/packaging/RedHat/init.d/distcc
+++ b/packaging/RedHat/init.d/distcc
@@ -103,7 +103,7 @@ chmod 700 $TMPDIR
RETVAL=0
-[ -x /usr/bin/distccd ] || exit 0
+[ -x $EXEC ] || exit 0
ALLOWFILE=""
if test -f $CONFIGDIR/$DOMAIN/clients.allow; then