forked from Mirrors/btrfs-progs
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
parent
582e156baf
commit
1b7dd327f4
|
@ -875,10 +875,7 @@ static int do_receive(struct btrfs_receive *r, const char *tomnt, int r_fd,
|
||||||
strerror(-ret));
|
strerror(-ret));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (g_verbose >= 1) {
|
fprintf(stderr, "Chroot to %s\n", dest_dir_full_path);
|
||||||
fprintf(stderr, "chrooted to %s\n",
|
|
||||||
dest_dir_full_path);
|
|
||||||
}
|
|
||||||
r->root_path = strdup("/");
|
r->root_path = strdup("/");
|
||||||
r->dest_dir_path = r->root_path;
|
r->dest_dir_path = r->root_path;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue