summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/phrecn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index 4f6b913..c141387 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -503,15 +503,15 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
/* Failed to save the session! */
#ifdef HAVE_NCURSES
if(ask_confirmation("PhotoRec has been unable to save its session status. Answer Y to really Quit, N to resume the recovery")!=0)
- params->status=STATUS_QUIT;
#endif
+ params->status=STATUS_QUIT;
}
else
{
#ifdef HAVE_NCURSES
if(ask_confirmation("Answer Y to really Quit, N to resume the recovery")!=0)
- params->status=STATUS_QUIT;
#endif
+ params->status=STATUS_QUIT;
}
break;
case PSTATUS_OK: