1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-18 14:47:48 +00:00

don't log commands

This commit is contained in:
Jason Hall 2019-05-16 09:13:35 -04:00
parent 15431a2bc2
commit f94e8be65c

View file

@ -6,7 +6,7 @@ import (
)
func Do(stdout io.Writer, command string) error {
cmd := exec.Command("/bin/sh", "-c", "set -ex && "+command)
cmd := exec.Command("/bin/sh", "-c", command)
cmd.Stdout = stdout
cmd.Stderr = stdout
return cmd.Run()