handler->conf can't be null bc we checked handler->conf->epheemral
before calling lxc_destroy_container_on_signal()
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
bool bret = true;
int ret = 0;
struct lxc_container *c;
- if (handler->conf && handler->conf->rootfs.path && handler->conf->rootfs.mount) {
+ if (handler->conf->rootfs.path && handler->conf->rootfs.mount) {
bret = do_destroy_container(handler->conf);
if (!bret) {
ERROR("Error destroying rootfs for %s", name);