Commit 86fed5c0 authored by Jussi Laakkonen's avatar Jussi Laakkonen

Merge branch 'jb46138' into 'master'

Use storageroot defined in config in main.c

See merge request mer-core/connman!214
parents fb06115a b5aee663
......@@ -842,7 +842,7 @@ int main(int argc, char *argv[])
connman_settings.storage_dir_permissions,
connman_settings.storage_file_permissions);
if (g_mkdir_with_parents(STORAGEDIR,
if (g_mkdir_with_parents(connman_settings.storage_root,
connman_settings.storage_dir_permissions) < 0) {
if (errno != EEXIST)
perror("Failed to create storage directory");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment