From c8fcde9579d491d781480e062f765047b4f42cc4 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 26 Jan 2026 14:25:06 -0800 Subject: [PATCH] remove useless brackets --- bsdfdisk/edit_part.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) {