remove debug printf

This commit is contained in:
Kaustubh Maske Patil 2023-08-31 15:32:14 +05:30
parent 85c71d2372
commit d9be4ff857

View File

@ -3,7 +3,6 @@ package main
import (
"context"
"errors"
"log"
"os/exec"
"strings"
"time"
@ -19,8 +18,6 @@ func runCommand(timeout time.Duration, command string, args []string) (*cmdRespo
cmd.Stderr = &stderr
err := cmd.Run()
log.Printf("Error after running command: %v", err)
// if the command exits with a non-zero exit code,
// we still want to return a valid cmdResponse
var exitError *exec.ExitError