From 0c5225571f33303804cfadd9b2c6c116ce92c3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20B=C3=83cker?= Date: Wed, 30 Sep 2020 10:41:14 +0000 Subject: [PATCH] Fix whitespace --- usr/local/bin/bastille | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/usr/local/bin/bastille b/usr/local/bin/bastille index edc11221..62b97bb7 100755 --- a/usr/local/bin/bastille +++ b/usr/local/bin/bastille @@ -145,15 +145,14 @@ clone|cmd|console|convert|cp|edit|export|htop|limits|mount|pkg|rename|service|st shift if [ "${TARGET}" = 'ALL' ]; then - _JAILS=$(jls name) - JAILS="" - for _jail in ${_JAILS}; do - _JAILPATH=$(jls -j "${_jail}" path) - if [ -z ${_JAILPATH##${bastille_jailsdir}*} ]; then - JAILS="${JAILS} ${_jail}" - fi + _JAILS=$(jls name) + JAILS="" + for _jail in ${_JAILS}; do + _JAILPATH=$(jls -j "${_jail}" path) + if [ -z ${_JAILPATH##${bastille_jailsdir}*} ]; then + JAILS="${JAILS} ${_jail}" + fi done - else JAILS=$(jls name | awk "/^${TARGET}$/")