diff --git a/bsdfdisk/edit_part.cgi b/bsdfdisk/edit_part.cgi index 67d15f90c..c259f42fe 100755 --- a/bsdfdisk/edit_part.cgi +++ b/bsdfdisk/edit_part.cgi @@ -112,8 +112,8 @@ if ($canedit) { print ui_buttons_row("delete_part.cgi", $text{'part_delete'}, $text{'part_deletedesc'}, $hiddens); print ui_buttons_end(); } else { - print ($is_boot) ? "$text{'part_bootcannotedit'}
\n" - : "$text{'part_cannotedit'}
\n"; + print $is_boot ? "$text{'part_bootcannotedit'}
\n" + : "$text{'part_cannotedit'}
\n"; } # SMART button (physical device) if (&has_command("smartctl")) {