Commit 13f519ee authored by Terry Ellison's avatar Terry Ellison
Browse files

Merge pull request #1142 from DiUS/fix-boot-input-race-crash

Fix null-pointer crash on early input
parents 73126477 76ff5412
......@@ -468,7 +468,7 @@ int lua_main (int argc, char **argv) {
void lua_handle_input (bool force)
{
if (force || readline (&gLoad))
if (gLoad.L && (force || readline (&gLoad)))
dojob (&gLoad);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment