mirror of https://github.com/Hilbis/Hilbish
style: dont explicitly set exitcode to 0 since its the default value
parent
82b4fa5e7c
commit
c6edbc20af
|
@ -55,7 +55,7 @@ func hilbishLoader(L *lua.LState) int {
|
||||||
// run(cmd)
|
// run(cmd)
|
||||||
// Runs `cmd` in Hilbish's sh interpreter
|
// Runs `cmd` in Hilbish's sh interpreter
|
||||||
func hlrun(L *lua.LState) int {
|
func hlrun(L *lua.LState) int {
|
||||||
var exitcode uint8 = 0
|
var exitcode uint8
|
||||||
cmd := L.CheckString(1)
|
cmd := L.CheckString(1)
|
||||||
err := execCommand(cmd)
|
err := execCommand(cmd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue