cgroups: hide messages about non-existent processes

This commit is contained in:
Alexander V Vershilov 2013-05-25 17:37:56 +04:00 committed by William Hubbs
parent e451d173fa
commit dce989e96d

View File

@ -115,7 +115,7 @@ cgroup_cleanup()
cgroup_get_pids || { eend 0 "finished" ; return 0 ; }
sleep 1
done
done
done 2>/dev/null
done
cgroup_get_pids || { eend 0 "finished" ; return 0; }
kill -9 $pids