hush: fix inverted check (was making all break's to act as "break 99999")
This commit is contained in:
parent
fcf37c3183
commit
45cb9f9581
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user