hack: quote all parameters with variable interpolation

better safe then sorry. especially for rm

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Upstream-commit: ac20568b0a62c794c0f1190703f051bd1cfac341
Component: engine
This commit is contained in:
Jörg Thalheim
2015-04-14 18:08:08 +02:00
parent 3dbe29194a
commit 29eeea7d5f
9 changed files with 67 additions and 67 deletions

View File

@ -60,7 +60,7 @@ for HIER in $(cut -d: -f2 /proc/1/cgroup); do
mkdir -p "$CGROUP/$HIER"
if ! mountpoint -q $CGROUP/$HIER; then
if ! mountpoint -q "$CGROUP/$HIER"; then
mount -n -t cgroup -o "$OHIER" cgroup "$CGROUP/$HIER"
fi