chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemctl: fix broken list-unit-files with --root
[elogind.git]
/
src
/
shared
/
dev-setup.c
diff --git
a/src/shared/dev-setup.c
b/src/shared/dev-setup.c
index e025e17bbeb014b341694be34af246e930ac0655..1a565d54708c2ea475b8f5c9bff184fc72c48594 100644
(file)
--- a/
src/shared/dev-setup.c
+++ b/
src/shared/dev-setup.c
@@
-64,7
+64,7
@@
int dev_setup(const char *prefix) {
if (j[0] == '-') {
j++;
- if (access(j, F_OK))
+ if (access(j, F_OK)
< 0
)
continue;
}