Fix quoting in cgroup-release-agent

This commit is contained in:
Alexander V Vershilov 2013-06-02 22:49:19 +04:00 committed by William Hubbs
parent dce989e96d
commit 9f14fd7ae1

View File

@ -5,6 +5,6 @@
cgroup=/sys/fs/cgroup/openrc
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ -d ${cgroup}/$1 ]; then
rmdir ${cgroup}/$1
if [ -d ${cgroup}/"$1" ]; then
rmdir ${cgroup}/"$1"
fi