aboutsummaryrefslogtreecommitdiff
path: root/cmd/myshell/main.go
diff options
context:
space:
mode:
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 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])