From 37e336a2b710ec5bc4fc1551a61ef566dd36caaf Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 14 Apr 2009 12:12:04 -0400 Subject: cgexec has moved to /bin (#495715) --- rc.d/init.d/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d/init.d') 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 -- cgit v1.2.1