Skip to content

Commit

Permalink
Return the exitcode again
Browse files Browse the repository at this point in the history
Fixes #543.
  • Loading branch information
Makman2 committed May 17, 2015
1 parent 98f3af4 commit 76ac81e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion coala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import sys

from coalib.coala import main

if __name__ == "__main__":
main()
sys.exit(main())
4 changes: 3 additions & 1 deletion coala.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import sys

from coalib.coala import main

if __name__ == "__main__":
main()
sys.exit(main())
4 changes: 2 additions & 2 deletions coalib/coala.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def main():
if interactor is not None and isinstance(interactor, ClosableObject):
interactor.close()

exit(exitcode)
return exitcode


if __name__ == "__main__":
main()
sys.exit(main())

2 comments on commit 76ac81e

@sils
Copy link
Member

@sils sils commented on 76ac81e May 17, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack

@sils
Copy link
Member

@sils sils commented on 76ac81e May 17, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit message could be better but its ok...

Please sign in to comment.