diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/rc-cgroup.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/rc-cgroup.sh.in b/sh/rc-cgroup.sh.in index c7cac2a9..3f34d179 100644 --- a/sh/rc-cgroup.sh.in +++ b/sh/rc-cgroup.sh.in @@ -54,7 +54,9 @@ cgroup_set_values() val= ;; *) - val="$val $1" + [ -n "$val" ] && + val="$val $1" || + val="$1" ;; esac shift |