summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-03-25 14:38:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-03-25 14:38:12 +0100
commit7a255f731a9cfe87f44fc9c4cc44ebce93997efc (patch)
treef90fb0f202f47578ec6b0b83c648e54d3329c33b /src/phmain.c
parent2159f9ccabecf6279dc5e8391ee5060d25a479a5 (diff)
PhotoRec: Call reset_list_file_enable() in main() instead of file_options_load_aux()
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c1
1 files changed, 1 insertions, 0 deletions
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