aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-04-14 12:12:04 -0400
committerBill Nottingham <notting@redhat.com>2009-04-14 12:12:04 -0400
commit37e336a2b710ec5bc4fc1551a61ef566dd36caaf (patch)
tree737a3764e6aee09eb30290c6d7e0424138c8210c
parent91983a3fa1daa98bbd1e924523efeeb607320871 (diff)
downloadinitscripts-37e336a2b710ec5bc4fc1551a61ef566dd36caaf.tar
initscripts-37e336a2b710ec5bc4fc1551a61ef566dd36caaf.tar.gz
initscripts-37e336a2b710ec5bc4fc1551a61ef566dd36caaf.tar.bz2
initscripts-37e336a2b710ec5bc4fc1551a61ef566dd36caaf.tar.xz
initscripts-37e336a2b710ec5bc4fc1551a61ef566dd36caaf.zip
cgexec has moved to /bin (#495715)
-rw-r--r--rc.d/init.d/functions4
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