Cosmetics changes to prevent double "/"

This commit is contained in:
JRGTH committed 2021-07-14 16:50:35 -04:00
1 parent c6491710fc
commit 2caf01b722
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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