Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 329:2623f7e775e3
FIX: Shell variable expansion was not done in fjail's command configure sometimes
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 30 Nov 2022 21:31:16 +0100 |
| parents | 184412e2543e |
| children | 8dbd11726ee5 |
| files | sbin/fjail |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sbin/fjail Wed Nov 30 09:46:29 2022 +0100 +++ b/sbin/fjail Wed Nov 30 21:31:16 2022 +0100 @@ -397,7 +397,7 @@ fi if [ "${_opt_devfs}" = "yes" ]; then - if [ ! -c "{_mp}/dev/null" ]; then + if [ ! -c "${_mp}/dev/null" ]; then echo "Mounting devfs" mount -t devfs devfs "${_mp}/dev" _umount_devfs="yes" @@ -468,7 +468,7 @@ if [ "${_umount_devfs}" = "yes" ]; then echo "Unmounting devfs" - umount "{_mp}/dev" + umount "${_mp}/dev" fi }
