Fix printf format issue

This commit is contained in:
Josh Palay 2015-09-23 14:45:06 -07:00
parent 0cbd853100
commit 8944182d8e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ func (c CommandRunner) Run(command *Command) ([]byte, error) {
cmd.Stdout = &out cmd.Stdout = &out
if err := cmd.Run(); err != nil { 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 return out.Bytes(), nil