aboutsummaryrefslogtreecommitdiff
path: root/sh/cgroup-release-agent.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/cgroup-release-agent.sh.in')
-rw-r--r--sh/cgroup-release-agent.sh.in4
1 files 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