diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-30 14:01:06 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-30 14:01:06 +0300 |
| commit | 420216f69204a6720816ef03cfc73c1fce5a8cf9 (patch) | |
| tree | 03f52dadcd55ece920104f87fcad7d09c4066454 /auth/sankakucomplex.zsh | |
| parent | 7f5c0175e973f2f2795239382446197ebf026515 (diff) | |
*/*: Remove unused return code
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'auth/sankakucomplex.zsh')
| -rw-r--r-- | auth/sankakucomplex.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth/sankakucomplex.zsh b/auth/sankakucomplex.zsh index ebd71f0..d7f1791 100644 --- a/auth/sankakucomplex.zsh +++ b/auth/sankakucomplex.zsh @@ -29,7 +29,7 @@ then log_text="ib_auth (${update_id}): ${output_text}" source "${units}/log.zsh" - return 0 + return fi if ! jq -e '.' <<< "${ib_auth_data}" > /dev/null @@ -39,13 +39,13 @@ then log_text="ib_auth (${update_id}): ${output_text}" source "${units}/log.zsh" - return 0 + return fi if [[ "$(jq -r '.success' <<< "${ib_auth_data}")" != "true" ]] then output_text="Error: <code>$(jq -r '.error' <<< "${ib_auth_data}" | htmlescape)</code>" - return 0 + return fi jq -r '.access_token' <<< "${ib_auth_data}" > "${token_file}" |
