← Commit list

45cb9f958

Denis Vlasenko
Denis Vlasenko
2008-07-29
FAILED Duration: 20s

Subject

hush: fix inverted check (was making all break's to act as "break 99999")

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+1 -1
@@ -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;
}