block: do a final round of swapfile mounting in main_mount()
[project/ubox.git] / block.c
diff --git a/block.c b/block.c
index 723c0f0..d4cf089 100644 (file)
--- a/block.c
+++ b/block.c
@@ -957,6 +957,8 @@ static int main_mount(int argc, char **argv)
        list_for_each_entry(pr, &devices, list)
                mount_device(pr, 0);
 
+       handle_swapfiles(true);
+
        return 0;
 }