Merge pull request #70 from cedwards/RC-test

regression in not using full path to bastille
This commit is contained in:
Christer Edwards
2019-11-25 08:11:01 -07:00
committed by GitHub

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