Update util-disk.sh

Fix mount typo
merge-requests/273/head
Chrysostomus 7 years ago committed by GitHub
parent 2636b58aac
commit 634c225213

@ -989,7 +989,7 @@ btrfs_subvolumes()
# Mount subvolumes
umount /mnt
# Mount the first subvolume as /
mount mount -o $(cat ${MOUNT_OPTS}),subvol="$(awk '{print $1}' /tmp/.subvols)" /dev/"$(cat /tmp/.root_partition)" /mnt
mount -o $(cat ${MOUNT_OPTS}),subvol="$(awk '{print $1}' /tmp/.subvols)" /dev/"$(cat /tmp/.root_partition)" /mnt
# Remove the first subvolume from the subvolume list
sed -i -r 's/(\s+)?\S+//1' /tmp/.subvols
# Loop to mount all created subvolumes
@ -1018,4 +1018,4 @@ btrfs_subvolumes()
else
return 0
fi
}
}

Loading…
Cancel
Save