Merge remote-tracking branch 'upstream/master'
[live-boot-grml.git] / components / 9990-overlay.sh
index 58828f6..d1b9cef 100755 (executable)
@@ -274,7 +274,7 @@ setup_unionfs ()
                        panic "only one RO file system supported with exposedroot: ${rootfslist}"
                fi
 
-               mount --bind ${rootfs} ${rootmnt} || \
+               mount -bind ${rootfs} ${rootmnt} || \
                        panic "bind mount of ${rootfs} failed"
 
                if [ -z "${SKIP_UNION_MOUNTS}" ]