mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Disallow creation of a filesystem on a slice with partitions
This commit is contained in:
@@ -124,7 +124,9 @@ if ($canedit) {
|
||||
print &ui_hr();
|
||||
print &ui_buttons_start();
|
||||
|
||||
&show_filesystem_buttons($hiddens, \@st, $slice);
|
||||
if (!@{$slice->{'parts'}}) {
|
||||
&show_filesystem_buttons($hiddens, \@st, $slice);
|
||||
}
|
||||
|
||||
# Button to delete slice
|
||||
print &ui_buttons_row(
|
||||
|
||||
Reference in New Issue
Block a user