remove debug printf
This commit is contained in:
parent
85c71d2372
commit
d9be4ff857
@ -3,7 +3,6 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"log"
|
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@ -19,8 +18,6 @@ func runCommand(timeout time.Duration, command string, args []string) (*cmdRespo
|
|||||||
cmd.Stderr = &stderr
|
cmd.Stderr = &stderr
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
|
|
||||||
log.Printf("Error after running command: %v", err)
|
|
||||||
|
|
||||||
// if the command exits with a non-zero exit code,
|
// if the command exits with a non-zero exit code,
|
||||||
// we still want to return a valid cmdResponse
|
// we still want to return a valid cmdResponse
|
||||||
var exitError *exec.ExitError
|
var exitError *exec.ExitError
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user