mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 10:49:48 +01:00
set TARGET to local only for some functions
This commit is contained in:
@@ -83,7 +83,7 @@ check_target_exists() {
|
||||
}
|
||||
|
||||
check_target_is_running() {
|
||||
TARGET="${1}"
|
||||
local TARGET="${1}"
|
||||
if [ ! "$(/usr/sbin/jls name | awk "/^${TARGET}$/")" ]; then
|
||||
error_exit "[${TARGET}]: Not started. See 'bastille start ${TARGET}'."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user