Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit c98a6f3

Browse files
ethantkoeniglunny
authored andcommitted
Return error from cmd.Wait() (#56)
1 parent 56f6a2c commit c98a6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (c *Command) RunInDirTimeoutPipeline(timeout time.Duration, dir string, std
7171
}
7272

7373
if err := cmd.Wait(); err != nil {
74-
log("exec.Wait: %v", err)
74+
return err
7575
}
7676

7777
return ctx.Err()

0 commit comments

Comments
 (0)