Code review/cleanup routine

This commit is contained in:
JRGTH
2021-07-14 13:57:09 -04:00
parent fb74bcb047
commit e564d50b2c
7 changed files with 20 additions and 21 deletions

View File

@@ -47,7 +47,7 @@ fi
for _jail in ${JAILS}; do
info "[${_jail}]:"
if [ -f /usr/sbin/pkg ]; then
if [ -f "/usr/sbin/pkg" ]; then
jexec -l "${_jail}" /usr/sbin/pkg "$@"
else
jexec -l "${_jail}" /usr/sbin/mport "$@"