chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a generator to pull rc-local.service in
[elogind.git]
/
src
/
logind-acl.c
diff --git
a/src/logind-acl.c
b/src/logind-acl.c
index 2aa5866ccd579315f57d2105da6f2fc804106696..7a06b501d45fbe420caae814abf40f54347e3011 100644
(file)
--- a/
src/logind-acl.c
+++ b/
src/logind-acl.c
@@
-105,7
+105,7
@@
int devnode_acl(const char *path,
bool add, uid_t new_uid) {
acl_t acl;
bool add, uid_t new_uid) {
acl_t acl;
- int r;
+ int r
= 0
;
bool changed = false;
assert(path);
bool changed = false;
assert(path);
@@
-265,9
+265,9
@@
int devnode_acl_all(struct udev *udev,
node = udev_device_get_devnode(d);
if (!node) {
node = udev_device_get_devnode(d);
if (!node) {
+ /* In case people mistag devices with nodes, we need to ignore this */
udev_device_unref(d);
udev_device_unref(d);
- r = -ENOMEM;
- goto finish;
+ continue;
}
log_debug("Fixing up %s for seat %s...", node, sn);
}
log_debug("Fixing up %s for seat %s...", node, sn);