diff options
author | Alexander V Vershilov <qnikst@gentoo.org> | 2013-06-02 22:49:19 +0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-06-16 14:22:23 -0500 |
commit | 9f14fd7ae10d8ae724045a57a2eb25c1d4290a3b (patch) | |
tree | 925a1558ee9fda7508a01962a59b410eb2d88e5c /sh | |
parent | dce989e96df05c0777e407b7d2cbd1c67a67f630 (diff) |
Fix quoting in cgroup-release-agent
Diffstat (limited to 'sh')
-rw-r--r-- | sh/cgroup-release-agent.sh.in | 4 |
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 |