mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00: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
1 changed files with 1 additions and 1 deletions
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 )
|
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 );
|
reader_exit( 0, 0 );
|
||||||
data->prev_end_loop=1;
|
data->prev_end_loop=1;
|
||||||
|
|
Loading…
Reference in a new issue