diff options
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r-- | cmds-subvolume.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c index bcfe5edc..3b5d6ea5 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -548,10 +548,8 @@ static int cmd_subvol_list(int argc, char **argv) } ret = btrfs_list_get_path_rootid(fd, &top_id); - if (ret) { - error("can't get rootid for '%s'", subvol); + if (ret) goto out; - } if (is_list_all) btrfs_list_setup_filter(&filter_set, |