main: create .hotspot directory if it does not exist
This commit is contained in:
parent
537fcd12ca
commit
3d1f1eb21c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue