sunshine: 2025.118.151840 -> 2025.122.141614 (#376248)
[NixPkgs.git] / pkgs / by-name / ke / keyutils / conf-symlink.patch
blob02762e857a814649aa2d78dc68ff2d20d3d20ad1
1 diff --git a/request-key.c b/request-key.c
2 index bf47c0a..105fee8 100644
3 --- a/request-key.c
4 +++ b/request-key.c
5 @@ -313,7 +313,7 @@ static void scan_conf_dir(struct parameters *params, const char *confdir)
6 while ((d = readdir(dir))) {
7 if (d->d_name[0] == '.')
8 continue;
9 - if (d->d_type != DT_UNKNOWN && d->d_type != DT_REG)
10 + if (d->d_type != DT_UNKNOWN && d->d_type != DT_REG && d->d_type != DT_LNK)
11 continue;
12 l = strlen(d->d_name);
13 if (l < 5)