diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2011-10-31 15:31:33 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-11-07 17:40:07 +0100 |
commit | 85725fde8a622251053d76b8a64990ae156a49f3 (patch) | |
tree | 3454c28ccba106d24032726d11ca26c796c0c7d2 /src/storage.c | |
parent | c6e9ae1507cec3c7f330b64e060a717675d2a793 (diff) | |
download | connman-85725fde8a622251053d76b8a64990ae156a49f3.tar.gz connman-85725fde8a622251053d76b8a64990ae156a49f3.tar.bz2 connman-85725fde8a622251053d76b8a64990ae156a49f3.zip |
storage: Don't list provider settings directories
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage.c b/src/storage.c index d987f910..8b0db77b 100644 --- a/src/storage.c +++ b/src/storage.c @@ -204,7 +204,8 @@ gchar **connman_storage_get_services() while ((d = readdir(dir))) { if (strcmp(d->d_name, ".") == 0 || - strcmp(d->d_name, "..") == 0) + strcmp(d->d_name, "..") == 0 || + strncmp(d->d_name, "provider_", 9) == 0) continue; switch (d->d_type) { |