diff --git a/usr/local/share/bastille/pkg.sh b/usr/local/share/bastille/pkg.sh index dd70cd49..989c1906 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 "$@"