mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-17 16:00:34 +01:00
Update common.sh
This commit is contained in:
@@ -86,6 +86,8 @@ check_target_is_running() {
|
|||||||
TARGET="${1}"
|
TARGET="${1}"
|
||||||
if [ ! "$(/usr/sbin/jls name | 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}'."
|
||||||
|
else
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user