mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
fixes for new edit sub-command; supports stopped as it should
This commit is contained in:
@@ -57,10 +57,10 @@ if [ -z "${EDITOR}" ]; then
|
||||
fi
|
||||
|
||||
if [ "${TARGET}" = 'ALL' ]; then
|
||||
JAILS=$(jls name)
|
||||
JAILS=$(bastille list jails)
|
||||
fi
|
||||
if [ "${TARGET}" != 'ALL' ]; then
|
||||
JAILS=$(jls name | awk "/^${TARGET}$/")
|
||||
JAILS=$(bastille list jails | awk "/^${TARGET}$/")
|
||||
fi
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
Reference in New Issue
Block a user