aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-receive.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-04-24 18:01:32 +0200
committerDavid Sterba <dsterba@suse.cz>2015-04-24 18:01:32 +0200
commit1b7dd327f43777bcdd217a0500e6bda78128a290 (patch)
treed6d3e6903a72e9f7805a72cbadc5b55d0b333444 /cmds-receive.c
parent582e156bafb7257dd4a599e84796782a046e65bd (diff)
downloadbtrfs-progs-1b7dd327f43777bcdd217a0500e6bda78128a290.tar.gz
btrfs-progs-1b7dd327f43777bcdd217a0500e6bda78128a290.tar.xz
btrfs-progs-1b7dd327f43777bcdd217a0500e6bda78128a290.zip
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>
Diffstat (limited to 'cmds-receive.c')
-rw-r--r--cmds-receive.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmds-receive.c b/cmds-receive.c
index 3505c76..b7cf3f9 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 {