Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 209:1b176ccd41b9
Comments
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Aug 2022 15:18:20 +0200 |
| parents | 0136dce2db22 |
| children | 4d7e00b500a1 |
| files | sbin/fjail |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sbin/fjail Sun Aug 21 15:12:59 2022 +0200 +++ b/sbin/fjail Sun Aug 21 15:18:20 2022 +0200 @@ -442,8 +442,9 @@ # Determine the mountpoint relative to the parent mountpoint _relative_mp="${_mp#${_rootds_mountpoint}}" - # Remove a trailing slash + # Eventually remove a trailing slash _relative_mp="${_relative_mp%/}" + # The real effective full mountpoint _real_mp="${_mountpoint}${_relative_mp}" if [ "${_dry_run}" = "yes" ]; then echo "Would mount ${_name} on ${_real_mp}"
