i3-dmenu-desktop: Support symlinks

follow_fast is passed to find() in order to support this. Since we check
ourselves for duplicates, the fast option can be used.

Fixes #3973
This commit is contained in:
Orestis Floros 2020-04-11 22:57:29 +02:00
parent 62279aba45
commit 3a672bc930
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ find(
$desktops{$relative} = $File::Find::name; $desktops{$relative} = $File::Find::name;
}, },
no_chdir => 1, no_chdir => 1,
follow_fast => 1,
}, },
@searchdirs @searchdirs
); );