# HG changeset patch # User Franz Glasner # Date 1661087900 -7200 # Node ID 1b176ccd41b9b5fc6c8a4162b4c6feb1aaae12f5 # Parent 0136dce2db22dd3dc42ad688f0d1d3d87d33fd23 Comments diff -r 0136dce2db22 -r 1b176ccd41b9 sbin/fjail --- 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}"