diff --git a/reader.c b/reader.c index 0be2bd239..cf4e5affe 100644 --- a/reader.c +++ b/reader.c @@ -1908,9 +1908,11 @@ static int read_i() if( !reader_exit_forced() && !data->prev_end_loop && has_job ) { writestr(_( L"There are stopped jobs\n" )); - repaint(); - data->end_loop = 0; + + reader_exit( 0, 0 ); data->prev_end_loop=1; + + repaint(); } } else