Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Create directory that holds cgroup mounts from setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Kalinin and Pieter Noordhuis committed Mar 15, 2013
1 parent 9f629f1 commit 401735b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions warden/root/linux/setup.sh
Expand Up @@ -20,11 +20,7 @@ fi

cgroup_path=/tmp/warden/cgroup

if [ ! -d $cgroup_path ]
then
echo "$cgroup_path does not exist..."
exit 1
fi
mkdir -p $cgroup_path

if grep "${cgroup_path} " /proc/mounts | cut -d' ' -f3 | grep -q cgroup
then
Expand Down

0 comments on commit 401735b

Please sign in to comment.