Fix not to print redundant if warning already printed

This commit is contained in:
iliajie
2022-07-23 15:14:01 +03:00
parent c984f3b57f
commit 7aa4b6add0

View File

@@ -124,7 +124,8 @@ if (@parts) {
print &ui_columns_end();
}
else {
print "$text{'disk_none'}<p>\n";
print "<p>$text{'disk_none'}</p>\n"
if (!$wantsparted);
}
print &ui_links_row(\@edlinks);