mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 18:53:44 +08:00
Better warning message when trying to exit with jobs running. PAtch and suggestion from Josef Spillner.
darcs-hash:20090201151601-ac50b-64bf24877419a9087f37eda2486232dfdabea9d2.gz
This commit is contained in:
parent
9111b85437
commit
31439ffb52
2
reader.c
2
reader.c
|
@ -2357,7 +2357,7 @@ static void handle_end_loop()
|
|||
|
||||
if( !reader_exit_forced() && !data->prev_end_loop && job_count && !is_breakpoint )
|
||||
{
|
||||
writestr(_( L"There are stopped jobs\n" ));
|
||||
writestr(_( L"There are stopped jobs. A second attempt to exit will enforce their termination.\n" ));
|
||||
|
||||
reader_exit( 0, 0 );
|
||||
data->prev_end_loop=1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user