mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +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)
|
||||
|
||||
//执行命令
|
||||
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) {
|
||||
m.Copy(check, "append")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user