hush: deindent large block of code, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1eada9ad8d
commit
5cc9bf6a21
@ -7803,6 +7803,8 @@ static int run_list(struct pipe *pi)
|
|||||||
|
|
||||||
/* Go through list of pipes, (maybe) executing them. */
|
/* Go through list of pipes, (maybe) executing them. */
|
||||||
for (; pi; pi = IF_HUSH_LOOPS(rword == RES_DONE ? loop_top : ) pi->next) {
|
for (; pi; pi = IF_HUSH_LOOPS(rword == RES_DONE ? loop_top : ) pi->next) {
|
||||||
|
int r;
|
||||||
|
|
||||||
if (G.flag_SIGINT)
|
if (G.flag_SIGINT)
|
||||||
break;
|
break;
|
||||||
if (G_flag_return_in_progress == 1)
|
if (G_flag_return_in_progress == 1)
|
||||||
@ -7953,12 +7955,10 @@ static int run_list(struct pipe *pi)
|
|||||||
* after run_pipe to collect any background children,
|
* after run_pipe to collect any background children,
|
||||||
* even if list execution is to be stopped. */
|
* even if list execution is to be stopped. */
|
||||||
debug_printf_exec(": run_pipe with %d members\n", pi->num_cmds);
|
debug_printf_exec(": run_pipe with %d members\n", pi->num_cmds);
|
||||||
{
|
|
||||||
int r;
|
|
||||||
#if ENABLE_HUSH_LOOPS
|
#if ENABLE_HUSH_LOOPS
|
||||||
G.flag_break_continue = 0;
|
G.flag_break_continue = 0;
|
||||||
#endif
|
#endif
|
||||||
rcode = r = run_pipe(pi); /* NB: rcode is a smallint */
|
rcode = r = run_pipe(pi); /* NB: rcode is a smalluint, r is int */
|
||||||
if (r != -1) {
|
if (r != -1) {
|
||||||
/* We ran a builtin, function, or group.
|
/* We ran a builtin, function, or group.
|
||||||
* rcode is already known
|
* rcode is already known
|
||||||
@ -8021,7 +8021,6 @@ static int run_list(struct pipe *pi)
|
|||||||
G.last_exitcode = rcode;
|
G.last_exitcode = rcode;
|
||||||
check_and_run_traps();
|
check_and_run_traps();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Analyze how result affects subsequent commands */
|
/* Analyze how result affects subsequent commands */
|
||||||
#if ENABLE_HUSH_IF
|
#if ENABLE_HUSH_IF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user