aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorjet2tlf <jet2tlf@gmail.com>2024-05-31 04:17:38 +0000
committerjet2tlf <jet2tlf@gmail.com>2024-05-31 04:17:38 +0000
commit191cf1a3c99a26fc736812e582bd07fadfffc051 (patch)
treea6688378a2c904ab6082605a4123097f2c1cdfbb /cmd
parent7816441b2975437f8886bdca63415f85fa6eed02 (diff)
downloadshell-go-191cf1a3c99a26fc736812e582bd07fadfffc051.tar.gz
shell-go-191cf1a3c99a26fc736812e582bd07fadfffc051.zip
pass 7st stage
Diffstat (limited to 'cmd')
-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 05a97a7..9ccf88c 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", command[1], exec)
+ fmt.Printf("%s is %s\n", command[1], exec)
return
}
}