diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-15 13:14:03 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-15 13:14:03 +0300 |
| commit | 504b9fca44b0b23ae5256482cefaea476d3ea290 (patch) | |
| tree | b31459ee7d40cbb0db96a847e217b6438c959948 /operators | |
| parent | b09241a7f2cf9443a8376a400c9bcc3dc36402e3 (diff) | |
*/*: Remove extra exit code
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'operators')
| -rw-r--r-- | operators/command_export.zsh | 2 | ||||
| -rw-r--r-- | operators/command_original.zsh | 2 | ||||
| -rw-r--r-- | operators/command_ping.zsh | 6 | ||||
| -rw-r--r-- | operators/command_source.zsh | 2 | ||||
| -rw-r--r-- | operators/url_parser.zsh | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/operators/command_export.zsh b/operators/command_export.zsh index fe68802..370aea0 100644 --- a/operators/command_export.zsh +++ b/operators/command_export.zsh @@ -25,5 +25,5 @@ done if [[ -z "${output_text}" ]] then - exit 0 + exit fi diff --git a/operators/command_original.zsh b/operators/command_original.zsh index adeebdf..19fdc44 100644 --- a/operators/command_original.zsh +++ b/operators/command_original.zsh @@ -151,4 +151,4 @@ then fi rmdir "${cache}/${ib_hash}.lock" -exit 0 +exit 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 diff --git a/operators/command_source.zsh b/operators/command_source.zsh index 9553bc6..8a3f9f8 100644 --- a/operators/command_source.zsh +++ b/operators/command_source.zsh @@ -4,7 +4,7 @@ if [[ -n "${nocommand_source}" ]] then - exit 0 + exit fi until mkdir "${user_config}_source.lock" diff --git a/operators/url_parser.zsh b/operators/url_parser.zsh index b24c1bf..cfe874c 100644 --- a/operators/url_parser.zsh +++ b/operators/url_parser.zsh @@ -44,7 +44,7 @@ done if [[ -z "${ib_post_id}" ]] then - exit 0 + exit fi source "${units}/ib_config.zsh" @@ -52,7 +52,7 @@ source "${units}/ib_authconfig.zsh" if [[ ${#ib_post_id} -gt 32 ]] then - exit 0 + exit elif [[ ${#ib_post_id} -eq 32 ]] then ib_query="md5:${ib_post_id}" |
