From 7d3e5fe61bb2facf48b3bb2fda7d30d94833009c Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Tue, 28 Nov 2023 19:43:06 -0800 Subject: [PATCH] code cleanup --- pinxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinxi b/pinxi index f3d814e..8f9a8d7 100755 --- a/pinxi +++ b/pinxi @@ -30859,11 +30859,11 @@ sub get_display_manager { $pattern .= '/var/run/rc.d'; } if ($pattern){ - $pattern = '{' . $pattern . '/*}'; + $pattern = '{' . $pattern . '}/*'; # for dm.pid type file or dm directory names, like greetd-684.sock @glob = globber($pattern); } - # print Data::Dumper::Dumper \@glob; + print Data::Dumper::Dumper \@glob; # used to test for .pid/lock type file or directory, now just see if the # search name exists in run and call it good since test would always be true # if directory existed previously anyway.