diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-08 13:31:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-08 13:33:59 +0000 |
commit | 5355d010445fdc323d07261f22ce052d017ded66 (patch) | |
tree | 117ef9897813e09b04406bfa77837c328124499a /main/lxc/lxc.initd | |
parent | c73985b8e9c226077c45f25b4a76cf3ecd39529a (diff) | |
download | aports-5355d010445fdc323d07261f22ce052d017ded66.tar.bz2 aports-5355d010445fdc323d07261f22ce052d017ded66.tar.xz |
main/lxc: fixes for shutdown
Diffstat (limited to 'main/lxc/lxc.initd')
-rw-r--r-- | main/lxc/lxc.initd | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/lxc/lxc.initd b/main/lxc/lxc.initd index cfa90c869..4ece09f9a 100644 --- a/main/lxc/lxc.initd +++ b/main/lxc/lxc.initd @@ -74,11 +74,6 @@ start() { stop() { checkconfig || return 1 - if ! [ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]; then - ewarn "${CONTAINER} doesn't seem to be started." - return 0 - fi - ebegin "Shutting down system in ${CONTAINER}" start-stop-daemon --stop --pidfile ${pidfile} \ --retry ${POWEROFF_SIGNAL:-SIGUSR2}/${TIMEOUT:-30} \ |