Commit 3421ec28 by Christian Brauner Committed by Stéphane Graber

lxc-destroy: avoid double print

parent 54e47860
......@@ -18,16 +18,18 @@
*/
#define _GNU_SOURCE
#include <lxc/lxccontainer.h>
#include "config.h"
#include <stdio.h>
#include <libgen.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include "lxc.h"
#include "log.h"
#include <lxc/lxccontainer.h>
#include "arguments.h"
#include "log.h"
#include "lxc.h"
#include "utils.h"
lxc_log_define(lxc_destroy_ui, lxc);
......@@ -251,9 +253,6 @@ static bool do_destroy_with_snapshots(struct lxc_container *c)
else
bret = do_destroy(c);
if (bret && !quiet)
printf("Destroyed container %s including snapshots \n", my_args.name);
return bret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment