mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-17 20:05:24 +00:00
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>
This commit is contained in:
parent
582e156baf
commit
1b7dd327f4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user