From 0d01d8276659a0ed56827f23e41fc0b0a7304f83 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 9 Jan 2024 09:56:33 -0600 Subject: gets jcarr,devel and master branch info Signed-off-by: Jeff Carr --- unix.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'unix.go') diff --git a/unix.go b/unix.go index 94a722f..cbf6b28 100644 --- a/unix.go +++ b/unix.go @@ -32,9 +32,13 @@ func run(path string, thing string, cmdline string) string { return "" } + tmp := string(output) + + tmp = strings.TrimSpace(tmp) + // Print the output - log.Info(string(output)) - return string(output) + log.Info("run()", path, thing, cmdline, "=", tmp) + return tmp } func listFiles(directory string) []string { -- cgit v1.2.3