From 54697cf77a88404e8469af582aa354aede7126b9 Mon Sep 17 00:00:00 2001 From: Lucas Holt Date: Sat, 27 Feb 2021 00:13:01 -0500 Subject: [PATCH] Fix the file test for FreeBSD/HBSD --- usr/local/share/bastille/pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/pkg.sh b/usr/local/share/bastille/pkg.sh index dd70cd4..989c190 100644 --- a/usr/local/share/bastille/pkg.sh +++ b/usr/local/share/bastille/pkg.sh @@ -47,7 +47,7 @@ fi for _jail in ${JAILS}; do info "[${_jail}]:" - if [ -f ${_jail}/usr/sbin/pkg ]; then + if [ -f /usr/sbin/pkg ]; then jexec -l "${_jail}" /usr/sbin/pkg "$@" else jexec -l "${_jail}" /usr/sbin/mport "$@"