summaryrefslogtreecommitdiff
path: root/imap-tool
diff options
context:
space:
mode:
authorPaul Kocialkowski2023-01-28 18:07:32 +0100
committerPaul Kocialkowski2023-01-28 19:35:57 +0100
commit9e3ca972f4de3c7b198b7583032518efc8efe449 (patch)
treed58d8727db7d46c1099a4f06e2d5334554c04ee0 /imap-tool
parent7d4147617999505c5d5e8b81e7c1b07016c5faa5 (diff)
Exit with main return code when provided
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'imap-tool')
-rwxr-xr-ximap-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-tool b/imap-tool
index 7d55770..3dc8728 100755
--- a/imap-tool
+++ b/imap-tool
@@ -151,4 +151,4 @@ class imap_tool():
return self.act()
if __name__ == "__main__":
- imap_tool().main()
+ sys.exit(imap_tool().main())