aboutsummaryrefslogtreecommitdiff
path: root/operators/command_ping.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'operators/command_ping.zsh')
-rw-r--r--operators/command_ping.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/operators/command_ping.zsh b/operators/command_ping.zsh
index dfb6016..bd45bab 100644
--- a/operators/command_ping.zsh
+++ b/operators/command_ping.zsh
@@ -83,7 +83,7 @@ then
log_text="editMessageText (${update_id}): Failed to access Telegram Bot API"
source "${units}/log.zsh"
- exit 0
+ exit
fi
if ! jq -e '.' <<< "${output_data}" > /dev/null
@@ -91,7 +91,7 @@ then
log_text="editMessageText (${update_id}): An unknown error occurred"
source "${units}/log.zsh"
- exit 0
+ exit
fi
if [[ "$(jq -r '.ok' <<< "${output_data}")" != "true" ]]
@@ -108,4 +108,4 @@ then
source "${units}/log.zsh"
fi
-exit 0
+exit