committed by
Cameron Sparr
parent
0c6c5718fe
commit
24527859e6
@@ -63,7 +63,7 @@ func (c CommandRunner) Run(command *Command) ([]byte, error) {
|
||||
cmd.Stdout = &out
|
||||
|
||||
if err := cmd.Run(); err != nil {
|
||||
return nil, fmt.Errorf("exec: %s for command '%s'", err, command)
|
||||
return nil, fmt.Errorf("exec: %s for command '%s'", err, command.Command)
|
||||
}
|
||||
|
||||
return out.Bytes(), nil
|
||||
|
||||
Reference in New Issue
Block a user