From 5d39c2827034eae2671fdbe3c2c82f187b2a0716 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Tue, 28 Nov 2023 19:24:10 -0800 Subject: [PATCH] code cleanup --- pinxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinxi b/pinxi index a57d652..f3d814e 100755 --- a/pinxi +++ b/pinxi @@ -30859,9 +30859,9 @@ sub get_display_manager { $pattern .= '/var/run/rc.d'; } if ($pattern){ - $pattern = '{' . $pattern . '/*}' if $pattern; + $pattern = '{' . $pattern . '/*}'; # for dm.pid type file or dm directory names, like greetd-684.sock - @glob = globber($pattern) if $pattern; + @glob = globber($pattern); } # print Data::Dumper::Dumper \@glob; # used to test for .pid/lock type file or directory, now just see if the