mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-19 18:40:44 +01:00
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;
|
goto fail_dbus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (create_dirs(DAEMON_STORAGEDIR "/.hotspot/")) {
|
||||||
|
l_error("Failed to create " DAEMON_STORAGEDIR "/.hotspot/");
|
||||||
|
goto fail_dbus;
|
||||||
|
}
|
||||||
|
|
||||||
genl = l_genl_new();
|
genl = l_genl_new();
|
||||||
if (!genl) {
|
if (!genl) {
|
||||||
l_error("Failed to open generic netlink socket");
|
l_error("Failed to open generic netlink socket");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user