aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index eb70c9d9f..a2649d069 100644
--- 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;
}