13
0

Return Lua system-exec exit status

This commit is contained in:
Robin Gareus 2024-02-27 00:23:49 +01:00
parent 301d2954c5
commit 0ea0b656b8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -459,8 +459,7 @@ lua_exec (std::string cmd)
if (x.start()) {
return -1;
}
x.wait ();
return 0;
return x.wait ();
}
#endif