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