summaryrefslogtreecommitdiff
path: root/example2/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-11-03 17:38:50 -0500
committerJeff Carr <[email protected]>2021-11-03 17:38:50 -0500
commit1b08d999ebadadc2dbea1020cec2ec17c6caa845 (patch)
tree5bda3110772c0bb94de192f2922ae5348e8075bf /example2/main.go
parentad28138b847a0c9c1cb924977a3c4bc01dba3bb8 (diff)
MAKE: update Makefile rules
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'example2/main.go')
-rw-r--r--example2/main.go8
1 files changed, 4 insertions, 4 deletions
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)
}