chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udev: pull in printer.target from all kinds of printers
[elogind.git]
/
src
/
logind-dbus.c
diff --git
a/src/logind-dbus.c
b/src/logind-dbus.c
index 96216e43a358eaf81374d72664e3d7f624939ca8..95bb07a432e733f0a475269898e1764bf6f87ec6 100644
(file)
--- a/
src/logind-dbus.c
+++ b/
src/logind-dbus.c
@@
-634,7
+634,7
@@
static int attach_device(Manager *m, const char *seat, const char *sysfs) {
}
mkdir_p("/etc/udev/rules.d", 0755);
- r = write_one_line_file(file, rule);
+ r = write_one_line_file
_atomic
(file, rule);
if (r < 0)
goto finish;