From fedc7aa60c58a35a7c99d792a1d2b6997d26684e Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 31 Dec 2024 15:27:45 -0700 Subject: [PATCH] Remove message on return 1 --- usr/local/share/bastille/common.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index 006f4a1d..da03dc3f 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -92,7 +92,6 @@ check_target_exists() { check_target_is_running() { local _TARGET="${1}" if [ ! "$(/usr/sbin/jls name | awk "/^${_TARGET}$/")" ]; then - error_notify "[${_TARGET}]: Not started. See 'bastille start ${_TARGET}'." return 1 else return 0 @@ -102,7 +101,6 @@ check_target_is_running() { check_target_is_stopped() { local _TARGET="${1}" if [ "$(/usr/sbin/jls name | awk "/^${_TARGET}$/")" ]; then - error_notify "${_TARGET} is running. See 'bastille stop ${_TARGET}'." return 1 else return 0