summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-14 08:59:57 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-14 08:59:57 +0100
commit8eda05607c1545dd2cdd4f4d92f1a5f9fa221935 (patch)
treea94b0a300972d7964d7bfe0ebf023ba814ae0a65 /src
parent6a07d917015a07e46d4faac617ef2a7c797c7f1e (diff)
After writing a new partition table don't prompt the user when TestDisk execution is driven by command line arguments
Diffstat (limited to 'src')
-rw-r--r--src/godmode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/godmode.c b/src/godmode.c
index 05be28a..ac112e8 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -1298,7 +1298,8 @@ int interface_recovery(disk_t *disk_car, const list_part_t * list_part_org, cons
else
{
use_backup(disk_car,list_part,verbose,dump_ind,expert,current_cmd);
- display_message("You will have to reboot for the change to take effect.\n");
+ if(no_confirm==0)
+ display_message("You will have to reboot for the change to take effect.\n");
}
}
else