Skip to content

Commit

Permalink
Reintroduced funtion 'exit' as it is used by snabbmark
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Oct 19, 2015
1 parent fde42c1 commit 8a0fa48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ function parse_command_line ()
return array
end

function exit (status)
os.exit(status)
end

--- Globally initialize some things. Module can depend on this being done.
function initialize ()
require("core.lib")
Expand Down

0 comments on commit 8a0fa48

Please sign in to comment.