diff --git a/base/nfs/cat.go b/base/nfs/cat.go index 73e91c71..c84ebfa0 100644 --- a/base/nfs/cat.go +++ b/base/nfs/cat.go @@ -145,6 +145,7 @@ func init() { m.Cmdy(DIR, arg) return } + m.Info("dir_root: %v", m.Option(DIR_ROOT)) _cat_list(m, arg[0]) }}, }}) diff --git a/misc/git/status.go b/misc/git/status.go index c5ecec4a..06cf476d 100644 --- a/misc/git/status.go +++ b/misc/git/status.go @@ -56,7 +56,7 @@ func _status_tags(m *ice.Message) { if len(ls) < 2 || !strings.Contains(ls[0], ice.PS) || !strings.Contains(ls[1], ice.PT) { return text } - if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PT), -1)[0]]; ok && ls[1] != v { + if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PS), -1)[0]]; ok && ls[1] != v { m.Info("upgrade to %v %v from %v", ls[0], ls[1], v) text = ice.TB + ls[0] + ice.SP + v change = true