From c825f0ca75d02ddb2d3f942b4533273e51c77054 Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Thu, 23 Dec 2021 14:34:43 -0700 Subject: [PATCH] accidentally the jail name in run test --- usr/local/bin/bastille | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/bastille b/usr/local/bin/bastille index 65c928da..705ff8fc 100755 --- a/usr/local/bin/bastille +++ b/usr/local/bin/bastille @@ -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