diff options
author | David Sterba <dsterba@suse.cz> | 2015-04-24 18:01:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-04-24 18:01:32 +0200 |
commit | 1b7dd327f43777bcdd217a0500e6bda78128a290 (patch) | |
tree | d6d3e6903a72e9f7805a72cbadc5b55d0b333444 /cmds-receive.c | |
parent | 582e156bafb7257dd4a599e84796782a046e65bd (diff) |
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.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 { |