X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmodules-load.c;h=2dd432695f5f4c028264cd111b5f5912cfcbb567;hp=3e3ccb0c2f2f188b3939497b8d0b1db091b57aa1;hb=1a6f4df6c9437ed631080b7e006f666326063d36;hpb=fc7a744cc44cdb80bf9bc6304fc3f80ca2cb65f9 diff --git a/src/modules-load.c b/src/modules-load.c index 3e3ccb0c2..2dd432695 100644 --- a/src/modules-load.c +++ b/src/modules-load.c @@ -43,7 +43,8 @@ static int scandir_filter(const struct dirent *d) { return 0; if (d->d_type != DT_REG && - d->d_type != DT_LNK) + d->d_type != DT_LNK && + d->d_type != DT_UNKNOWN) return 0; return endswith(d->d_name, ".conf");