From 29a05eb40288c3fe865015d033fbb0c2e713244b Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 9 Sep 2019 14:09:31 -0700 Subject: [PATCH] storage: fix hotspot dir creation create_dirs was dependent on the path ending in '/' to create the full path. The hotspot code did not include a '/' at the end so it was not getting created, which prevented the hotspot module from initializing. --- src/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.c b/src/storage.c index 2c83f009..2a16d4bb 100644 --- a/src/storage.c +++ b/src/storage.c @@ -188,7 +188,7 @@ bool storage_create_dirs(void) } storage_path = l_strdup(state_dirs[0]); - storage_hotspot_path = l_strdup_printf("%s/hotspot", state_dirs[0]); + storage_hotspot_path = l_strdup_printf("%s/hotspot/", state_dirs[0]); l_strv_free(state_dirs); if (create_dirs(storage_path)) {