diff --git a/thingdoer/example.yaml b/thingdoer/example.yaml index a5b7cf059..5b1fe04a8 100644 --- a/thingdoer/example.yaml +++ b/thingdoer/example.yaml @@ -1,5 +1,5 @@ - name: one - command: echo one + command: echo $PATH; which touch; foo - name: two after: [one] command: echo two diff --git a/thingdoer/main.go b/thingdoer/main.go index 4d98160ea..4710cb7c9 100644 --- a/thingdoer/main.go +++ b/thingdoer/main.go @@ -37,10 +37,9 @@ func (t *thing) run() { } else { log.Printf(">>> %s finished with success after %0.1f secs\n", t.Name, duration) } - if err != nil { - log.Print(out.String()) - log.Println() - } + + log.Print(out.String()) + log.Println() t.success = err == nil } @@ -122,7 +121,7 @@ func main() { break } - // remove it as a dependancy from + // remove it as a dependency from // other things for _, t := range things { t.After = remove(thing.Name, t.After)