diff options
author | Alexey Yushkin <636808@mail.ru> | 2023-03-03 13:59:38 +0300 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-03-04 14:43:09 +0300 |
commit | ab7a262fec8673d29b4af08dbd7a5b2c8b3653eb (patch) | |
tree | 1ac87677b36e60f66e6bf4b47560a66288766cbe /ports-mgmt | |
parent | security/openvpn: default-enable DCO (diff) |
ports-mgmt/rc-subr-jail: Fix jail_mount_devfs check during jail destruction
Co-authored-by: Alexey Donskov <voxnod@gmail.com>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/rc-subr-jail/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/rc-subr-jail/files/rc.subr.jail | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/rc-subr-jail/Makefile b/ports-mgmt/rc-subr-jail/Makefile index 8569189f5651..e380cc8a5302 100644 --- a/ports-mgmt/rc-subr-jail/Makefile +++ b/ports-mgmt/rc-subr-jail/Makefile @@ -1,5 +1,5 @@ PORTNAME= rc-subr-jail -PORTVERSION= 2 +PORTVERSION= 3 CATEGORIES= ports-mgmt MASTER_SITES= # DISTFILES= # diff --git a/ports-mgmt/rc-subr-jail/files/rc.subr.jail b/ports-mgmt/rc-subr-jail/files/rc.subr.jail index f91fe7ddf8fa..7d16c34bf9ee 100644 --- a/ports-mgmt/rc-subr-jail/files/rc.subr.jail +++ b/ports-mgmt/rc-subr-jail/files/rc.subr.jail @@ -111,7 +111,7 @@ destroy_jail() local jroot jroot="$1" - if [ "$jail_mount_devfs" ]; then + if [ "$jail_mount_devfs" = "yes" ]; then rmdir "$jroot/dev" fi |