summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:13:41 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:13:41 +1000
commit3f14b764d5af8ba0390d8f791389330ec1739c9e (patch)
tree91b4a0dab47e1e5a00b8429ef569a921ff4e1281 /pkg/commands/os.go
parentae0d88f855773dd76432487509f9af13f987a812 (diff)
update tests
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(),
)
}