commit 3d1f1eb21c7be39e925e142a53fa318ba779fd66 parent 537fcd12ca2838633f04b58517f4b6927be6fb9a Author: James Prestwood <james.prestwood@linux.intel.com> Date: Wed, 26 Jun 2019 12:20:35 -0700 main: create .hotspot directory if it does not exist Diffstat:
| M | src/main.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c @@ -483,6 +483,11 @@ int main(int argc, char *argv[]) goto fail_dbus; } + if (create_dirs(DAEMON_STORAGEDIR "/.hotspot/")) { + l_error("Failed to create " DAEMON_STORAGEDIR "/.hotspot/"); + goto fail_dbus; + } + genl = l_genl_new(); if (!genl) { l_error("Failed to open generic netlink socket");