1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ func (s *Satan) processGeneralTask(t *task) {
func (t *task) String() string {
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)
}