Return Lua system-exec exit status
This commit is contained in:
parent
301d2954c5
commit
0ea0b656b8
@ -459,8 +459,7 @@ lua_exec (std::string cmd)
|
||||
if (x.start()) {
|
||||
return -1;
|
||||
}
|
||||
x.wait ();
|
||||
return 0;
|
||||
return x.wait ();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user