mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 17:24:05 +08:00
tce fix bug
This commit is contained in:
parent
7ef9f2d59f
commit
90af5692f3
@ -616,7 +616,7 @@ var Index = &ctx.Context{Name: "web", Help: "应用中心",
|
|||||||
w := m.Optionv("response").(http.ResponseWriter)
|
w := m.Optionv("response").(http.ResponseWriter)
|
||||||
|
|
||||||
//执行命令
|
//执行命令
|
||||||
if m.Options("details") {
|
if m.Has("details") {
|
||||||
if check := m.Spawn().Cmd("/check", "target", m.Option("module"), "command", m.Option("details")); !check.Results(0) {
|
if check := m.Spawn().Cmd("/check", "target", m.Option("module"), "command", m.Option("details")); !check.Results(0) {
|
||||||
m.Copy(check, "append")
|
m.Copy(check, "append")
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user