mirror of
https://github.com/rancher/norman.git
synced 2025-08-25 10:28:37 +00:00
commit
a40a48add2
@ -6,6 +6,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
@ -65,6 +66,8 @@ func runEtcd(ctx context.Context, args []string) {
|
|||||||
cmd.SysProcAttr = &syscall.SysProcAttr{
|
cmd.SysProcAttr = &syscall.SysProcAttr{
|
||||||
Pdeathsig: syscall.SIGKILL,
|
Pdeathsig: syscall.SIGKILL,
|
||||||
}
|
}
|
||||||
|
cmd.Stdout = os.Stdout
|
||||||
|
cmd.Stderr = os.Stderr
|
||||||
|
|
||||||
logrus.Info("Running ", strings.Join(args, " "))
|
logrus.Info("Running ", strings.Join(args, " "))
|
||||||
cmd.Run()
|
cmd.Run()
|
||||||
|
Loading…
Reference in New Issue
Block a user