summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r--pkg/commands/os.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go
index fd27d39da..c3574f98e 100644
--- a/pkg/commands/os.go
+++ b/pkg/commands/os.go
@@ -80,8 +80,7 @@ func (c *OSCommand) RunDirectCommand(command string) (string, error) {
c.Log.WithField("command", command).Info("RunDirectCommand")
return sanitisedCommandOutput(
- exec.
- Command(c.Platform.shell, c.Platform.shellArg, command).
+ c.command(c.Platform.shell, c.Platform.shellArg, command).
CombinedOutput(),
)
}