regression in not using full path to bastille

This commit is contained in:
Christer Edwards
2019-11-25 08:10:29 -07:00
parent 62b295f009
commit 7668927f6d

View File

@@ -51,10 +51,10 @@ TARGET="${1}"
shift shift
if [ "${TARGET}" = 'ALL' ]; then if [ "${TARGET}" = 'ALL' ]; then
JAILS=$(bastille list jails) JAILS=$(/usr/local/bin/bastille list jails)
fi fi
if [ "${TARGET}" != 'ALL' ]; then if [ "${TARGET}" != 'ALL' ]; then
JAILS=$(bastille list jails | grep -w "${TARGET}") JAILS=$(/usr/local/bin/bastille list jails | grep -w "${TARGET}")
fi fi
for _jail in ${JAILS}; do for _jail in ${JAILS}; do