diff options
Diffstat (limited to 'rc.d')
-rw-r--r-- | rc.d/init.d/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index fe9dd3a3..70821c5f 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -242,11 +242,11 @@ daemon() { # if they set CGROUP_DAEMON in /etc/sysconfig/foo, honor it if [ -n "${CGROUP_DAEMON}" ]; then - if [ ! -x /usr/bin/cgexec ]; then + if [ ! -x /bin/cgexec ]; then echo -n "Cgroups not installed"; warning echo else - cgroup="/usr/bin/cgexec"; + cgroup="/bin/cgexec"; for i in $CGROUP_DAEMON; do cgroup="$cgroup -g $i"; done |