mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 00:02:56 +08:00
Fix the error message not being outputed
This commit is contained in:
parent
2d90859cab
commit
dc1f2fbb4c
@ -331,7 +331,7 @@ static int builtin_jobs(parser_t &parser, io_streams_t &streams, wchar_t **argv)
|
||||
/*
|
||||
Do not babble if not interactive
|
||||
*/
|
||||
if (streams.out_is_redirected)
|
||||
if (!streams.out_is_redirected)
|
||||
{
|
||||
streams.out.append_format(
|
||||
_(L"%ls: There are no jobs\n"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user