Skip to content

Commit

Permalink
regression in not using full path to bastille
Browse files Browse the repository at this point in the history
  • Loading branch information
cedwards committed Nov 25, 2019
1 parent 62b295f commit 7668927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/local/share/bastille/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ TARGET="${1}"
shift

if [ "${TARGET}" = 'ALL' ]; then
JAILS=$(bastille list jails)
JAILS=$(/usr/local/bin/bastille list jails)
fi
if [ "${TARGET}" != 'ALL' ]; then
JAILS=$(bastille list jails | grep -w "${TARGET}")
JAILS=$(/usr/local/bin/bastille list jails | grep -w "${TARGET}")
fi

for _jail in ${JAILS}; do
Expand Down

0 comments on commit 7668927

Please sign in to comment.