Fix removal of orphaned snapshots.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index bb71bc4..b9afbc4 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -447,7 +447,7 @@ static int try_to_free_disk_space(int low_disk_space)
        why = "orphaned";
        victim = find_orphaned_snapshot(&sl);
        if (victim)
-               goto out;
+               goto remove;
        DSS_WARNING_LOG("disk space low and nothing obvious to remove\n");
        victim = find_oldest_removable_snapshot(&sl);
        if (victim)