diff --git a/src/lxc/start.c b/src/lxc/start.c index 0601333e2..5d1cb3634 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -1309,7 +1309,7 @@ static void lxc_destroy_container_on_signal(struct lxc_handler *handler, 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);