summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index 18a424b..58af491 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 */