Fixes issue:1484

Make jobs builtin return 1 if there are no jobs running in the background
This commit is contained in:
Arjun AK 2014-06-08 11:25:37 +05:30
parent 741342ba1d
commit 58f4182880

View File

@ -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;