projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf37c3
)
hush: fix inverted check (was making all break's to act as "break 99999")
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 29 Jul 2008 11:47:46 +0000
(11:47 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 29 Jul 2008 11:47:46 +0000
(11:47 -0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index eb70c9d9f4065cb51f6a105e4888e22b7a987853..a2649d069d0d58ca8146df5b70e4ec1963811e43 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-4571,7
+4571,7
@@
static int builtin_break(char **argv)
depth_break_continue = UINT_MAX;
}
}
- if (depth_of_loop
>
depth_break_continue)
+ if (depth_of_loop
<
depth_break_continue)
depth_break_continue = depth_of_loop;
return EXIT_SUCCESS;
}