From 1b7dd327f43777bcdd217a0500e6bda78128a290 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 24 Apr 2015 18:01:32 +0200 Subject: btrfs-progs: receive: unconditionally print if doing chroot The chroot action seems important enough to be printed unconditionally and without the verbose option that prints way too much information. Signed-off-by: David Sterba --- cmds-receive.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cmds-receive.c') diff --git a/cmds-receive.c b/cmds-receive.c index 3505c76e..b7cf3f95 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -875,10 +875,7 @@ static int do_receive(struct btrfs_receive *r, const char *tomnt, int r_fd, strerror(-ret)); goto out; } - if (g_verbose >= 1) { - fprintf(stderr, "chrooted to %s\n", - dest_dir_full_path); - } + fprintf(stderr, "Chroot to %s\n", dest_dir_full_path); r->root_path = strdup("/"); r->dest_dir_path = r->root_path; } else { -- cgit v1.2.3