From 8944182d8e63c290f862171fb4aa1eb2a247a915 Mon Sep 17 00:00:00 2001 From: Josh Palay Date: Wed, 23 Sep 2015 14:45:06 -0700 Subject: [PATCH] Fix printf format issue --- plugins/exec/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/exec/exec.go b/plugins/exec/exec.go index c9d115312..5a039565d 100644 --- a/plugins/exec/exec.go +++ b/plugins/exec/exec.go @@ -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