Bug fix for bind mounted $LIVE variant ($UPPER=$LOWER)
authorRalph Ronnquist <rrq@rrq.au>
Mon, 4 Sep 2023 02:21:49 +0000 (12:21 +1000)
committerRalph Ronnquist <rrq@rrq.au>
Mon, 4 Sep 2023 02:21:49 +0000 (12:21 +1000)
functions

index 959d762bdd78ea0a9e31ac0ee2ddf8a2c671c918..fa1d527012262a85a85c8b718cf28fe71a9be71a 100644 (file)
--- a/functions
+++ b/functions
@@ -163,7 +163,7 @@ setup_overlay() {
     elif [ "$LIVE" != "$UPPER" ] ; then
        # With UPPER = LOWER we rather make a bind mount to LIVE
        env CONFIG="$CONFIG" $PREMOUNT "$UPPER"
-       mount --bind $UPPER $LOWER
+       mount --bind $UPPER $LIVE
     fi
 
     grep ^SHARE= "$CONFIG" | while read A ; do