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
0e17248fa4
commit
5d39c28270
4
pinxi
4
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
|
||||
|
|
Loading…
Reference in a new issue