Commits

Oben Sonne  committed bb19a64

Fix wrong shell exit code

Thanks to Sam Bull for pointing on this error.

  • Participants
  • Parent commits c86e5bd

Comments (0)

Files changed (1)

     
 if __name__ == '__main__':
     
-    ret = main() and 0 or 1
-    _exit(ret)
+    ret = main()
+    _exit(int(not ret))