mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
Fix the file test for FreeBSD/HBSD
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user