We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586685e commit 26f5081Copy full SHA for 26f5081
xhyve/xhyve.go
@@ -930,8 +930,13 @@ func (d *Driver) getMACAdress() (string, error) {
930
stdout := bytes.Buffer{}
931
932
cmd := exec.Command(os.Args[0], args...) // TODO: Should be possible without exec
933
+ log.Debugf("Running command: %s %s", os.Args[0], args)
934
+
935
cmd.Stdout = &stdout
936
if err := cmd.Run(); err != nil {
937
+ if exitErr, ok := err.(*exec.ExitError); ok {
938
+ log.Debugf("Stderr: %s", exitErr.Stderr)
939
+ }
940
return "", err
941
}
942
0 commit comments