apply rule of silence to up/down cmds
This commit is contained in:
parent
0579b4cdd3
commit
08b8372148
1
util.go
1
util.go
@ -38,7 +38,6 @@ func ExitFail(format string, a ...interface{}) {
|
|||||||
|
|
||||||
func ShellOut(command string, name string) {
|
func ShellOut(command string, name string) {
|
||||||
if command != "" {
|
if command != "" {
|
||||||
fmt.Printf("Running %s commands:\n %s", name, command)
|
|
||||||
shell := exec.Command("/bin/sh", "-c", command)
|
shell := exec.Command("/bin/sh", "-c", command)
|
||||||
err := shell.Run()
|
err := shell.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user