code cleanup

This commit is contained in:
Harald Hope 2023-11-28 19:24:10 -08:00
parent 0e17248fa4
commit 5d39c28270

4
pinxi
View file

@ -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