mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 10:10:46 +01:00
accidentally the jail name in run test
This commit is contained in:
@@ -162,7 +162,7 @@ clone|config|cmd|console|convert|cp|edit|htop|limits|mount|pkg|rename|service|st
|
|||||||
shift
|
shift
|
||||||
|
|
||||||
# Require the target to be running
|
# 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}'."
|
error_exit "[${TARGET}]: Not started. See 'bastille start ${TARGET}'."
|
||||||
fi
|
fi
|
||||||
elif [ "${CMD}" = 'template' ] && [ "${TARGET}" = '--convert' ]; then
|
elif [ "${CMD}" = 'template' ] && [ "${TARGET}" = '--convert' ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user