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 <dsterba@suse.cz>
master
David Sterba 2015-04-24 18:01:32 +02:00
parent 582e156baf
commit 1b7dd327f4
1 changed files with 1 additions and 4 deletions

View File

@ -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 {