Fix the file test for FreeBSD/HBSD
This commit is contained in:
1 parent
1710a09f6a
commit
54697cf77a
1 file changed
+1
-1
@@ -47,7 +47,7 @@ fi
|
|||||||
|
|
||||||
for _jail in ${JAILS}; do
|
for _jail in ${JAILS}; do
|
||||||
info "[${_jail}]:"
|
info "[${_jail}]:"
|
||||||
if [ -f ${_jail}/usr/sbin/pkg ]; then
|
if [ -f /usr/sbin/pkg ]; then
|
||||||
jexec -l "${_jail}" /usr/sbin/pkg "$@"
|
jexec -l "${_jail}" /usr/sbin/pkg "$@"
|
||||||
else
|
else
|
||||||
jexec -l "${_jail}" /usr/sbin/mport "$@"
|
jexec -l "${_jail}" /usr/sbin/mport "$@"
|
||||||
|
|||||||
Reference in new issue
Block a user