summaryrefslogtreecommitdiffstats
path: root/src/adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-14 19:13:59 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-14 19:13:59 +0200
commit0573cee26d55f926a2318c6627c07d27f5339ebd (patch)
tree87e99b55e288845a68d74cae2783560a5d8090ff /src/adv.c
parent7ba7a6e19caad6f27e94bc51693ce3484be8c7d9 (diff)
Enable MFT repair in expert mode when the NTFS boot sector is ok even if its backup isn't
Diffstat (limited to 'src/adv.c')
-rw-r--r--src/adv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/adv.c b/src/adv.c
index d7b6585..64a8876 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -1056,7 +1056,10 @@ int ntfs_boot_sector(disk_t *disk_car, partition_t *partition, const int verbose
else if(opt_B!=0)
{
menu=5;
- options="DBRL";
+ if(expert>0)
+ options="DBRML";
+ else
+ options="DBRL";
}
else if(opt_O!=0)
{