We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ffef97 commit 71b4779Copy full SHA for 71b4779
pkg/pillar/base/execwrapper.go
@@ -48,7 +48,9 @@ func (c *Command) Output() ([]byte, error) {
48
var buf bytes.Buffer
49
c.command.Stdout = &buf
50
c.buffer = &buf
51
- c.timeout = defaultTimeout
+ if c.timeout == 0 {
52
+ c.timeout = defaultTimeout
53
+ }
54
return c.execCommand()
55
}
56
@@ -59,7 +61,9 @@ func (c *Command) CombinedOutput() ([]byte, error) {
59
61
60
62
c.command.Stderr = &buf
63
64
65
66
67
68
69
0 commit comments