mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
code cleanup
This commit is contained in:
parent
5d39c28270
commit
7d3e5fe61b
4
pinxi
4
pinxi
|
@ -30859,11 +30859,11 @@ sub get_display_manager {
|
||||||
$pattern .= '/var/run/rc.d';
|
$pattern .= '/var/run/rc.d';
|
||||||
}
|
}
|
||||||
if ($pattern){
|
if ($pattern){
|
||||||
$pattern = '{' . $pattern . '/*}';
|
$pattern = '{' . $pattern . '}/*';
|
||||||
# for dm.pid type file or dm directory names, like greetd-684.sock
|
# for dm.pid type file or dm directory names, like greetd-684.sock
|
||||||
@glob = globber($pattern);
|
@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
|
# 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
|
# search name exists in run and call it good since test would always be true
|
||||||
# if directory existed previously anyway.
|
# if directory existed previously anyway.
|
||||||
|
|
Loading…
Reference in a new issue