accidentally the jail name in run test

This commit is contained in:
Christer Edwards
2021-12-23 14:34:43 -07:00
parent 7558fd42ca
commit c825f0ca75

View File

@@ -162,7 +162,7 @@ clone|config|cmd|console|convert|cp|edit|htop|limits|mount|pkg|rename|service|st
shift
# Require the target to be running
if [ ! "$(/usr/sbin/jls | awk "/^${TARGET}$/")" ]; then
if [ ! "$(/usr/sbin/jls name | awk "/^${TARGET}$/")" ]; then
error_exit "[${TARGET}]: Not started. See 'bastille start ${TARGET}'."
fi
elif [ "${CMD}" = 'template' ] && [ "${TARGET}" = '--convert' ]; then