fixes for new edit sub-command; supports stopped as it should
This commit is contained in:
@@ -134,7 +134,7 @@ esac
|
|||||||
case "${CMD}" in
|
case "${CMD}" in
|
||||||
bootstrap|cmd|console|convert|cp|create)
|
bootstrap|cmd|console|convert|cp|create)
|
||||||
;;
|
;;
|
||||||
destroy|export|htop|import|limits|list)
|
destroy|edit|export|htop|import|limits|list)
|
||||||
;;
|
;;
|
||||||
pkg|rdr|rename|restart|service|start|stop|sysrc)
|
pkg|rdr|rename|restart|service|start|stop|sysrc)
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -57,10 +57,10 @@ if [ -z "${EDITOR}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${TARGET}" = 'ALL' ]; then
|
if [ "${TARGET}" = 'ALL' ]; then
|
||||||
JAILS=$(jls name)
|
JAILS=$(bastille list jails)
|
||||||
fi
|
fi
|
||||||
if [ "${TARGET}" != 'ALL' ]; then
|
if [ "${TARGET}" != 'ALL' ]; then
|
||||||
JAILS=$(jls name | awk "/^${TARGET}$/")
|
JAILS=$(bastille list jails | awk "/^${TARGET}$/")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for _jail in ${JAILS}; do
|
for _jail in ${JAILS}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user