Skip to content

Commit

Permalink
Remove message on return 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Dec 31, 2024
1 parent 4bc76d5 commit fedc7aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usr/local/share/bastille/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fedc7aa

Please sign in to comment.