summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorAlexey Yushkin <636808@mail.ru>2023-03-03 13:59:38 +0300
committerGleb Popov <arrowd@FreeBSD.org>2023-03-04 14:43:09 +0300
commitab7a262fec8673d29b4af08dbd7a5b2c8b3653eb (patch)
tree1ac87677b36e60f66e6bf4b47560a66288766cbe /ports-mgmt
parentsecurity/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/Makefile2
-rw-r--r--ports-mgmt/rc-subr-jail/files/rc.subr.jail2
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