=== modified file 'zsh-functions/zsv_set_cgroup' --- zsh-functions/zsv_set_cgroup 2014-02-25 21:29:38 +0000 +++ zsh-functions/zsv_set_cgroup 2014-02-25 21:26:10 +0000 @@ -1,4 +1,4 @@ -if grep -q "^[^ ]* ${zsv_cgroup:h} " /proc/mounts; then +if ! grep -q "^[^ ]* ${zsv_cgroup:h} " /proc/mounts; then mkdir -p $zsv_cgroup && echo $$ >>$zsv_cgroup/tasks else # [[ -d $zsv_cgroup:h ]] && rm -rf $zsv_cgroup:h