diff options
| author | jet2tlf <jet2tlf@gmail.com> | 2024-05-31 04:16:46 +0000 |
|---|---|---|
| committer | jet2tlf <jet2tlf@gmail.com> | 2024-05-31 04:16:46 +0000 |
| commit | 7ef49374d77d1b999c4a1a2e9967e23ba29142ad (patch) | |
| tree | a6688378a2c904ab6082605a4123097f2c1cdfbb /cmd/myshell | |
| parent | 15b0931bf4464043079f1a203b99b41a9af34149 (diff) | |
| download | shell-go-7ef49374d77d1b999c4a1a2e9967e23ba29142ad.tar.gz shell-go-7ef49374d77d1b999c4a1a2e9967e23ba29142ad.zip | |
pass 7st stage
Diffstat (limited to 'cmd/myshell')
| -rw-r--r-- | cmd/myshell/main.go | 2 |
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]) |