From 1b08d999ebadadc2dbea1020cec2ec17c6caa845 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 3 Nov 2021 17:38:50 -0500 Subject: MAKE: update Makefile rules Signed-off-by: Jeff Carr --- example2/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'example2/main.go') diff --git a/example2/main.go b/example2/main.go index f19adf4..2e94c7f 100644 --- a/example2/main.go +++ b/example2/main.go @@ -1,11 +1,11 @@ package main import "log" -import "fmt" +// import "fmt" import "git.wit.org/wit/shell" func main() { - tmp, output, err := shell.Run("cat /etc/issue") - log.Println("cat /etc/issue returned", tmp, "error =", err) - fmt.Print(output) + err := shell.Run("cat /etc/issue") + log.Println("cat /etc/issue returned", err) + // fmt.Print(output) } -- cgit v1.2.3