ash: main: Print \n upon EOF (CTRL-D) when run interactively
No binary (build failed)
—
(log yok)
| @@ -13302,8 +13302,12 @@ cmdloop(int top) | |
| if (!top || numeof >= 50) | |
| break; | |
| if (!stoppedjobs()) { | |
| - | if (!Iflag) |
| + | if (!Iflag) { |
| + | if (iflag) { |
| + | newline_and_flush(stderr); |
| + | } |
| break; | |
| + | } |
| out2str("\nUse \"exit\" to leave shell.\n"); | |
| } | |
| numeof++; | |