diff --git a/src/options.c b/src/options.c index 18a424bcedf3a41cc38249c35fb2e71bddaa66d8..58af491b66c7492e71a73a86ff59881fc73eedc6 100644 --- a/src/options.c +++ b/src/options.c @@ -787,7 +787,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) add_file_to_filelist_recursively(argv[optind++], FILELIST_FIRST); } } - else if (finalrun && !opt.filelistfile) + else if (finalrun && !opt.filelistfile && !opt.bgmode) add_file_to_filelist_recursively(".", FILELIST_FIRST); /* So that we can safely be called again */