aboutsummaryrefslogtreecommitdiffstats
path: root/src/firecfg/main.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-04-07 09:09:04 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-04-07 09:09:04 -0400
commit8b1861ae7223a8ff4034046e4c28d800878199d1 (patch)
tree45fe81f99e5b660167e04aa0785431aacaa45f46 /src/firecfg/main.c
parenttesting (diff)
downloadfirejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.gz
firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.zst
firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.zip
CentOS fixes
Diffstat (limited to 'src/firecfg/main.c')
-rw-r--r--src/firecfg/main.c3
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