From 8b1861ae7223a8ff4034046e4c28d800878199d1 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 7 Apr 2017 09:09:04 -0400 Subject: CentOS fixes --- src/firecfg/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/firecfg/main.c') 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) { continue; // skip if not regular file or link - if (entry->d_type != DT_REG && entry->d_type != DT_LNK) + // d_type is not available on some file systems + if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_UNKNOWN) continue; // skip if not .desktop file -- cgit v1.2.3-54-g00ecf