]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-destroy: Remove container with all snapshots 621/head
authorChristian Brauner <christianvanbrauner@gmail.com>
Sat, 8 Aug 2015 12:51:11 +0000 (14:51 +0200)
committerChristian Brauner <christianvanbrauner@gmail.com>
Sat, 8 Aug 2015 12:59:59 +0000 (14:59 +0200)
commit7909bb03e6fcc3f49e62aa455b903fdc74ddb6dd
tree9f5ce5232fd5bd7850fe72862e545bfa18820565
parentb2966d59acb9bfb8d02fe1e6427cdf27cbd9686b
lxc-destroy: Remove container with all snapshots

- This enables the user to destroy a container with all its snapshots without
  having to use lxc-snapshot first to destroy all snapshots. (The enum values
  DESTROY and SNAP from the previous commit are reused here again.)
- Some unification regarding the usage of exit() and return has been done.

Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
src/lxc/lxc_destroy.c