summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/phcfg.c1
-rw-r--r--src/phmain.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/phcfg.c b/src/phcfg.c
index 34640d1..06297ac 100644
--- a/src/phcfg.c
+++ b/src/phcfg.c
@@ -228,7 +228,6 @@ int file_options_load(file_enable_t *files_enable)
{
FILE *handle;
char buffer[512];
- reset_list_file_enable(files_enable);
handle=file_options_load_aux();
if(handle==NULL)
return -1;
diff --git a/src/phmain.c b/src/phmain.c
index d9ffbf1..341020b 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -346,6 +346,7 @@ int main( int argc, char **argv )
disk->description(disk), disk->sector_size, disk->model);
}
log_info("\n");
+ reset_list_file_enable(list_file_enable);
file_options_load(list_file_enable);
use_sudo=do_curses_photorec(verbose, recup_dir, list_disk, list_file_enable, cmd_device, &cmd_run);
#ifdef HAVE_NCURSES