aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorjet2tlf <jet2tlf@gmail.com>2024-05-31 04:16:46 +0000
committerjet2tlf <jet2tlf@gmail.com>2024-05-31 04:16:46 +0000
commit7ef49374d77d1b999c4a1a2e9967e23ba29142ad (patch)
treea6688378a2c904ab6082605a4123097f2c1cdfbb /cmd
parent15b0931bf4464043079f1a203b99b41a9af34149 (diff)
downloadshell-go-7ef49374d77d1b999c4a1a2e9967e23ba29142ad.tar.gz
shell-go-7ef49374d77d1b999c4a1a2e9967e23ba29142ad.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 cbb3c02..9ccf88c 100644
--- a/cmd/myshell/main.go
+++ b/cmd/myshell/main.go
@@ -46,7 +46,7 @@ func main() {
if _, err := os.Stat(exec); err == nil {
fmt.Printf("%s is %s\n", command[1], exec)
- break
+ return
}
}
fmt.Printf("%s not found\n", command[1])