mirror of https://github.com/Hilbis/Hilbish
fix: pass alias expanded string to sh runner (fixes #201)
i have no idea why it didnt before, it *shouldnt* introduce any problems and fixes this one.pull/207/head
parent
2e192be2e1
commit
c13889592f
4
exec.go
4
exec.go
|
@ -101,7 +101,7 @@ func runInput(input string, priv bool) {
|
|||
cmdFinish(0, input, priv)
|
||||
return
|
||||
}
|
||||
input, exitCode, cont, err = handleSh(input)
|
||||
input, exitCode, cont, err = handleSh(cmdString)
|
||||
case "hybridRev":
|
||||
_, _, _, err = handleSh(input)
|
||||
if err == nil {
|
||||
|
@ -112,7 +112,7 @@ func runInput(input string, priv bool) {
|
|||
case "lua":
|
||||
input, exitCode, err = handleLua(cmdString)
|
||||
case "sh":
|
||||
input, exitCode, cont, err = handleSh(input)
|
||||
input, exitCode, cont, err = handleSh(cmdString)
|
||||
}
|
||||
} else {
|
||||
// can only be a string or function so
|
||||
|
|
Loading…
Reference in New Issue