mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 22:17:41 +08:00
Fixes issue:1484
Make jobs builtin return 1 if there are no jobs running in the background
This commit is contained in:
parent
741342ba1d
commit
58f4182880
@ -343,6 +343,7 @@ static int builtin_jobs(parser_t &parser, wchar_t **argv)
|
||||
append_format(stdout_buffer,
|
||||
_(L"%ls: There are no jobs\n"),
|
||||
argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user