1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00

tce fix bug

This commit is contained in:
shaoying 2018-08-15 12:31:47 +08:00
parent 7ef9f2d59f
commit 90af5692f3

View File

@ -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