From 9f14fd7ae10d8ae724045a57a2eb25c1d4290a3b Mon Sep 17 00:00:00 2001 From: Alexander V Vershilov Date: Sun, 2 Jun 2013 22:49:19 +0400 Subject: Fix quoting in cgroup-release-agent --- sh/cgroup-release-agent.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/cgroup-release-agent.sh.in b/sh/cgroup-release-agent.sh.in index c3174fee..d6dd1e1e 100644 --- a/sh/cgroup-release-agent.sh.in +++ b/sh/cgroup-release-agent.sh.in @@ -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 -- cgit v1.2.3