From 98ea9125867373f297b71ad8df0e7fbc5bf64543 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 6 Aug 2012 23:54:33 +0300 Subject: [PATCH] storage.c: Search for settings file even if d_type is DT_UNKNOWN. This is useful for filesystems where d_type is always DT_UNKNOWN, for example in reiserfs. --- src/storage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage.c b/src/storage.c index 20766a3..29291dc 100644 --- a/src/storage.c +++ b/src/storage.c @@ -193,6 +193,7 @@ gchar **connman_storage_get_services() switch (d->d_type) { case DT_DIR: + case DT_UNKNOWN: /* * If the settings file is not found, then * assume this directory is not a services dir. -- 2.7.4