Minor change, update comment

This commit is contained in:
Jose
2020-02-10 14:10:00 -04:00
parent 206d6a59e9
commit 0e93832a30

View File

@@ -72,8 +72,7 @@ update_jailconf() {
}
update_fstab() {
# Update fstab .bastille mountpoint on thin containers only
# Set some variables
# Update fstab to use the new name
FSTAB_CONFIG="${bastille_jailsdir}/${NEWNAME}/fstab"
FSTAB_RELEASE=$(grep -owE '([1-9]{2,2})\.[0-9](-RELEASE|-RC[1-2]|-stable-build-[0-9]{1,3})' ${FSTAB_CONFIG})
FSTAB_CURRENT=$(grep -w ".*/releases/.*/jails/${TARGET}/root/.bastille" ${FSTAB_CONFIG})