btrfs-progs: restore: avoid SYMLINK messages by default
Some scripts can still rely on this message, so make it available with -vv, so -v stays sane. Fixes: #127 Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b70eb104df
commit
58552e0a06
|
@ -898,7 +898,9 @@ static int copy_symlink(struct btrfs_root *root, struct btrfs_key *key,
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("SYMLINK: '%s' => '%s'\n", path_name, symlink_target);
|
|
||||||
|
if (verbose >= 2)
|
||||||
|
printf("SYMLINK: '%s' => '%s'\n", path_name, symlink_target);
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
if (!restore_metadata)
|
if (!restore_metadata)
|
||||||
|
|
Loading…
Reference in New Issue