]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-destroy: Remove container with all snapshots
authorChristian Brauner <christianvanbrauner@gmail.com>
Fri, 14 Aug 2015 18:16:16 +0000 (20:16 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 27 Aug 2015 20:14:01 +0000 (15:14 -0500)
commitf29bb5d52b777248f6e94c26722a54522f98beef
tree694c199063af06e4a374cd82e261e820dcb3ee7b
parent513f23df5c0ebdb36954dc75d7bf293a7ec800aa
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>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_destroy.c