mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 17:44:05 +08:00
opt base
This commit is contained in:
parent
a564821a6a
commit
efe0a13e06
@ -26,7 +26,7 @@ func _xterm_get(m *ice.Message, h string) xterm.XTerm {
|
|||||||
ls := kit.Split(strings.Split(kit.Select(nfs.SH, value[mdb.TYPE]), " # ")[0])
|
ls := kit.Split(strings.Split(kit.Select(nfs.SH, value[mdb.TYPE]), " # ")[0])
|
||||||
term, e := xterm.Command(m, value[nfs.PATH], cli.SystemFind(m, ls[0]), ls[1:]...)
|
term, e := xterm.Command(m, value[nfs.PATH], cli.SystemFind(m, ls[0]), ls[1:]...)
|
||||||
if m.Warn(e) {
|
if m.Warn(e) {
|
||||||
return
|
return nil
|
||||||
}
|
}
|
||||||
m.Go(func() {
|
m.Go(func() {
|
||||||
defer term.Close()
|
defer term.Close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user