Skip to content

Commit

Permalink
exit properly
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 23, 2015
1 parent 06286f9 commit b391d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/rst2html/__init__.py
Expand Up @@ -62,6 +62,6 @@ def _execute(self, options, args):
html = b'<!DOCTYPE html>\n' + lxml.html.tostring(doc, encoding='utf8', method='html', pretty_print=True)
print(html)
if error_level < 3:
return 0
exit(0)
else:
return 1
exit(1)

0 comments on commit b391d06

Please sign in to comment.