summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-08-26 10:07:17 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-08-26 10:07:17 +0200
commit4c034fdba3f90aaa8839893583f3623b96d83277 (patch)
treed3681edc84c4712f960f758c53b99b5bf991e85f /src
parentc75772b32e70b4ca0f5417904eb4f003b6748d85 (diff)
PhotoRec: flush log before asking the user if he want to quit or not
Diffstat (limited to 'src')
-rw-r--r--src/phrecn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index a77beb3..55393cb 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -407,6 +407,7 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
}
else
{
+ log_flush();
#ifdef HAVE_NCURSES
if(ask_confirmation("Answer Y to really Quit, N to resume the recovery")!=0)
#endif