diff options
Diffstat (limited to 'src/firecfg')
-rw-r--r-- | src/firecfg/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index 670b3d839..6b69dd130 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -340,7 +340,8 @@ static void fix_desktop_files(void) { | |||
340 | continue; | 340 | continue; |
341 | 341 | ||
342 | // skip if not regular file or link | 342 | // skip if not regular file or link |
343 | if (entry->d_type != DT_REG && entry->d_type != DT_LNK) | 343 | // d_type is not available on some file systems |
344 | if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_UNKNOWN) | ||
344 | continue; | 345 | continue; |
345 | 346 | ||
346 | // skip if not .desktop file | 347 | // skip if not .desktop file |