diff options
| author | Jeff Carr <[email protected]> | 2021-11-03 17:38:50 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-11-03 17:38:50 -0500 |
| commit | 1b08d999ebadadc2dbea1020cec2ec17c6caa845 (patch) | |
| tree | 5bda3110772c0bb94de192f2922ae5348e8075bf /example2/main.go | |
| parent | ad28138b847a0c9c1cb924977a3c4bc01dba3bb8 (diff) | |
MAKE: update Makefile rules
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'example2/main.go')
| -rw-r--r-- | example2/main.go | 8 |
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) } |
