summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-04-20 13:27:50 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-04-20 13:27:50 +0200
commit1a9ce501a7d69c434849782a3b19f89615bf6e1a (patch)
tree030e7a99c1f91dfa705a3bb35505f44b555d405a
parent735b1f3bf7451abf3bb1bf9965cb47b0b4729dbd (diff)
For non partionned media, go directly to the Advanced menu.
-rw-r--r--src/tdiskop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tdiskop.c b/src/tdiskop.c
index b28e5fb..8717d64 100644
--- a/src/tdiskop.c
+++ b/src/tdiskop.c
@@ -123,6 +123,10 @@ static int menu_disk_ncurses(disk_t *disk, const int verbose,int dump_ind, const
{0,NULL,NULL}
};
unsigned int menu=(disk->arch == &arch_none ? 1 : 0);
+ if(disk->arch == &arch_none)
+ {
+ interface_adv(disk, verbose, dump_ind, expert, current_cmd);
+ }
strcpy(options, "AGOPTQ");
if(disk->arch->write_MBR_code!=NULL)
strcat(options,"C");