From 99341c92a05b8bddca8f9664643f2597bf3d5471 Mon Sep 17 00:00:00 2001
From: Andreas Paul <xorpaul@gmail.com>
Date: Thu, 25 Jan 2024 18:04:01 +0100
Subject: [PATCH] remove too verbose env output

---
 helper.go | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/helper.go b/helper.go
index a4189cb..56732eb 100644
--- a/helper.go
+++ b/helper.go
@@ -201,12 +201,8 @@ func executeCommand(command string, commandDir string, timeout int, allowFail bo
 		os.Unsetenv("https_proxy")
 		os.Unsetenv("HTTP_PROXY")
 		os.Unsetenv("HTTPS_PROXY")
-		execCommand.Env = os.Environ()
-		Debugf("exec OS env:" + strings.Join(execCommand.Env, ",") + " for command " + command)
-	} else {
-		execCommand.Env = os.Environ()
-		Debugf("exec OS env:" + strings.Join(execCommand.Env, ",") + " for command " + command)
 	}
+	execCommand.Env = os.Environ()
 	out, err := execCommand.CombinedOutput()
 	duration := time.Since(before).Seconds()
 	er := ExecResult{0, string(out)}