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: forward untrusted user reboot, poweroff requests to logind
[elogind.git]
/
src
/
install.c
diff --git
a/src/install.c
b/src/install.c
index 1fb1f9d5800e7fc3ccad1b6c222be0058bfdbd18..174d79bab6bc3eb72de371fe968465fb5968927c 100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-1571,10
+1571,10
@@
UnitFileState unit_file_get_state(
}
if (lstat(path, &st) < 0) {
+ r = -errno;
if (errno == ENOENT)
continue;
- r = -errno;
goto finish;
}