forked from Mirrors/btrfs-progs
btrfs-progs: receive: make option quiet work
Even when -q option specified, the receive sub-command is not quiet as shown below. $ btrfs receive -q -f /tmp/t /btrfs1 At snapshot ss3 It must be quiet at least when it's been asked to be quiet. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>master
parent
8a8083fded
commit
161402cc5a
|
@ -269,7 +269,8 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid,
|
|||
goto out;
|
||||
}
|
||||
|
||||
fprintf(stdout, "At snapshot %s\n", path);
|
||||
if (g_verbose)
|
||||
fprintf(stdout, "At snapshot %s\n", path);
|
||||
|
||||
memcpy(rctx->cur_subvol.received_uuid, uuid, BTRFS_UUID_SIZE);
|
||||
rctx->cur_subvol.stransid = ctransid;
|
||||
|
|
Loading…
Reference in New Issue