diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-12-04 09:53:11 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-12-04 10:16:07 +0000 |
commit | d1d9ddf98d39b0bdc055060fb962335439445690 (patch) | |
tree | 998faf898ca12fdaaa8b75dc83fc014c52ce2ba3 /ubusd.h | |
parent | ad0cd117db74934385d81605514e041b1a9cdda9 (diff) | |
download | ubus-d1d9ddf98d39b0bdc055060fb962335439445690.tar.gz |
ubusd: attempt to create socket folder
When ubus is running as root, /var/run/ubus most likely hasn't been
created as well (as that's the homedir of user ubus, and if a user
ubus was found, then ubus would run being that user).
Blindly attempt to create the directory (which won't do any harm if
it does exist and/or ubus is not running as root) to still be able to
start ubus in case of user ubus not existing.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'ubusd.h')
0 files changed, 0 insertions, 0 deletions