cfdisk: do not startle the user with a false message when --zero is used
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
parent
6067af3f65
commit
5088d642dd
|
@ -1774,8 +1774,9 @@ static int ui_create_label(struct cfdisk *cf)
|
|||
}
|
||||
|
||||
erase();
|
||||
ui_center(ui_lines - 4,
|
||||
_("Device does not contain a recognized partition table."));
|
||||
if (!cf->zero_start)
|
||||
ui_center(ui_lines - 4,
|
||||
_("Device does not contain a recognized partition table."));
|
||||
ui_center(ui_lines - 3,
|
||||
_("Select a type to create a new label or press 'L' to load script file."));
|
||||
|
||||
|
|
Loading…
Reference in New Issue