Cosmetics changes to prevent double "/"

This commit is contained in:
JRGTH
2021-07-14 16:50:35 -04:00
parent c6491710fc
commit 2caf01b722
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ esac
for _jail in ${JAILS}; do
info "[${_jail}]:"
bastille_jail_path="${bastille_jailsdir}/${_jail}/root"
cp "${OPTION}" "${CPSOURCE}" "${bastille_jail_path}/${CPDEST}"
cp "${OPTION}" "${CPSOURCE}" "${bastille_jail_path}${CPDEST}"
RETURN="$?"
if [ "${TARGET}" = "ALL" ]; then
# Display the return status for reference

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