Fixing condition for setting rootfs_dest_backing.
[live-boot-grml.git] / scripts / boot / 9990-misc-helpers.sh
index cb3940b..fb7c644 100755 (executable)
@@ -1482,7 +1482,7 @@ activate_custom_mounts ()
                # ignore the loop below and set rootfs_dest_backing=$dest
                local rootfs_dest_backing
                rootfs_dest_backing=""
-               if [ -n "${opt_link}" ]
+               if [ -n "${opt_link}" ] || [ -n "${opt_union}" ]
                then
                        for d in /live/rootfs/*
                        do