revert double-slash fix

this causes issues if the user doesn't provide a starting /. cosmetic only.
This commit is contained in:
Christer Edwards
2021-07-31 14:42:24 -06:00
committed by GitHub
parent c90fea3066
commit 30ba4bbb69

View File

@@ -93,7 +93,7 @@ for _jail in ${JAILS}; do
info "[${_jail}]:"
## aggregate variables into FSTAB entry
_jailpath="${bastille_jailsdir}/${_jail}/root${_jailpath}"
_jailpath="${bastille_jailsdir}/${_jail}/root/${_jailpath}"
_fstab_entry="${_hostpath} ${_jailpath} ${_type} ${_perms} ${_checks}"
## Create mount point if it does not exist. -- cwells