Skip base function in task name

This commit is contained in:
Gregory Eremin 2015-10-24 02:42:58 +03:00
parent 78cfb92db3
commit 3937c71a42

View File

@ -188,8 +188,8 @@ func (s *Satan) processGeneralTask(t *task) {
func (t *task) String() string { func (t *task) String() string {
if t.name == "" { if t.name == "" {
return fmt.Sprintf("[unnamed %s process]", t.daemon.base()) return fmt.Sprintf("[unnamed %s process]", t.daemon)
} }
return fmt.Sprintf("%s[%s]", t.daemon.base(), t.name) return fmt.Sprintf("%s[%s]", t.daemon, t.name)
} }