silenced rmdir of lost+found since it may not exist
This commit is contained in:
+1
-1
@@ -392,7 +392,7 @@ persistent_changes()
|
||||
mke2fs -F "$2/loop.fs" >/dev/null
|
||||
fi
|
||||
mount -o loop,sync "$2/loop.fs" "$2"
|
||||
rmdir "$2/lost+found"
|
||||
rmdir "$2/lost+found" 2>/dev/null
|
||||
else
|
||||
echo "* Activating native persistent changes"
|
||||
mount --bind "$CHANGES" "$2"
|
||||
|
||||
Reference in New Issue
Block a user