Update common.sh

This commit is contained in:
tschettervictor
2024-12-16 19:22:46 -07:00
committed by GitHub
parent 0d9a793ed9
commit 4248ea9b0b

View File

@@ -86,6 +86,8 @@ check_target_is_running() {
TARGET="${1}"
if [ ! "$(/usr/sbin/jls name | awk "/^${TARGET}$/")" ]; then
error_exit "[${TARGET}]: Not started. See 'bastille start ${TARGET}'."
else
return 0
fi
}