aboutsummaryrefslogtreecommitdiff
path: root/cmd/myshell/main.go
diff options
context:
space:
mode:
authorjet2tlf <jet2tlf@gmail.com>2024-05-31 04:17:02 +0000
committerjet2tlf <jet2tlf@gmail.com>2024-05-31 04:17:02 +0000
commit7816441b2975437f8886bdca63415f85fa6eed02 (patch)
tree89ad6f7f03ba53f031fedc159784ff9c4f76caa2 /cmd/myshell/main.go
parent7ef49374d77d1b999c4a1a2e9967e23ba29142ad (diff)
downloadshell-go-7816441b2975437f8886bdca63415f85fa6eed02.tar.gz
shell-go-7816441b2975437f8886bdca63415f85fa6eed02.zip
pass 7st stage
Diffstat (limited to 'cmd/myshell/main.go')
-rw-r--r--cmd/myshell/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/myshell/main.go b/cmd/myshell/main.go
index 9ccf88c..05a97a7 100644
--- a/cmd/myshell/main.go
+++ b/cmd/myshell/main.go
@@ -45,7 +45,7 @@ func main() {
exec := path + "/" + command[1]
if _, err := os.Stat(exec); err == nil {
- fmt.Printf("%s is %s\n", command[1], exec)
+ fmt.Printf("%s is %s", command[1], exec)
return
}
}