summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmds-subvolume.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index 76dab1f4..96fdcca7 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -697,6 +697,7 @@ static int cmd_subvol_get_default(int argc, char **argv)
/* no need to resolve roots if FS_TREE is default */
if (default_id == BTRFS_FS_TREE_OBJECTID) {
printf("ID 5 (FS_TREE)\n");
+ ret = 0;
goto out;
}