Permalink
Browse files

Remove cleanup of old cgroup mount

  • Loading branch information...
David Sabeti and Pieter Noordhuis
David Sabeti and Pieter Noordhuis committed Apr 5, 2013
1 parent c8446d7 commit e932f255e2e420ec9868b3b1c0ea26eaac42dc26
Showing with 0 additions and 11 deletions.
  1. +0 −11 warden/root/linux/setup.sh
View
@@ -7,17 +7,6 @@ shopt -s nullglob
cd $(dirname "${0}")
-# Check if the old mount point exists, and if so clean it up
-if [ -d /dev/cgroup ]
-then
- if grep -q /dev/cgroup /proc/mounts
- then
- umount /dev/cgroup
- fi
-
- rmdir /dev/cgroup
-fi
-
cgroup_path=/tmp/warden/cgroup
mkdir -p $cgroup_path

0 comments on commit e932f25

Please sign in to comment.