chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udevd: always create runtime dir
[elogind.git]
/
udev
/
udevd.c
diff --git
a/udev/udevd.c
b/udev/udevd.c
index f810b9431c6410bcdcd0ecf4bf774abd6300608f..c1a4fcfa7c7c0b7b505d3c18895961a44466cd85 100644
(file)
--- a/
udev/udevd.c
+++ b/
udev/udevd.c
@@
-1318,6
+1318,9
@@
int main(int argc, char *argv[])
chdir("/");
umask(022);
+ /* /run/udev */
+ mkdir(udev_get_run_path(udev), 0755);
+
/* create standard links, copy static nodes, create nodes from modules */
static_dev_create(udev);
static_dev_create_from_modules(udev);