diff options
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 138f19abd..3958db123 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13302,8 +13302,12 @@ cmdloop(int top) | |||
13302 | if (!top || numeof >= 50) | 13302 | if (!top || numeof >= 50) |
13303 | break; | 13303 | break; |
13304 | if (!stoppedjobs()) { | 13304 | if (!stoppedjobs()) { |
13305 | if (!Iflag) | 13305 | if (!Iflag) { |
13306 | if (iflag) { | ||
13307 | newline_and_flush(stderr); | ||
13308 | } | ||
13306 | break; | 13309 | break; |
13310 | } | ||
13307 | out2str("\nUse \"exit\" to leave shell.\n"); | 13311 | out2str("\nUse \"exit\" to leave shell.\n"); |
13308 | } | 13312 | } |
13309 | numeof++; | 13313 | numeof++; |