From 54bb3ee2933696da1ab4851443508f32d395ba8e Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 26 Jan 2026 12:54:55 -0800 Subject: [PATCH 1/3] No need to check for undef values, as this can never happen --- web-lib-funcs.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 4fea01e2c..3ddb59ee9 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -415,10 +415,10 @@ push(@can_dirs, $gconfig{'tempdir_sys'}) if ($gconfig{'tempdir_sys'}); # Common fallbacks push(@can_dirs, "/dev/shm", "/tmp", "/var/tmp", "/usr/tmp"); -# Remove empty and duplicate entries, which can happen when both configured +# Remove duplicate entries, which can happen when both configured # dirs are set to the same path, or when a configured path matches one of # the built-in defaults -@can_dirs = &unique(grep { $_ } @can_dirs); +@can_dirs = &unique(@can_dirs); # Test each candidate in turn for my $dir (@can_dirs) { From c8fcde9579d491d781480e062f765047b4f42cc4 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 26 Jan 2026 14:25:06 -0800 Subject: [PATCH 2/3] 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")) { From 4f438906d21337067513d7c01a03e2280598db5a Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 26 Jan 2026 14:25:51 -0800 Subject: [PATCH 3/3] New version bump --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index e49e1e6d9..29e5950ab 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.620 +2.621