chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
errno is positive
[elogind.git]
/
src
/
shared
/
install.c
diff --git
a/src/shared/install.c
b/src/shared/install.c
index 9e870392f232c0c620b429351793ba2c2e5deb28..b368b9f9ab1eae2fa952b458669b500f633ab2d1 100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-1637,7
+1637,7
@@
UnitFileState unit_file_get_state(
return state;
r = unit_file_can_install(&paths, root_dir, path, true);
- if (r < 0 && errno !=
-
ENOENT)
+ if (r < 0 && errno != ENOENT)
return r;
else if (r > 0)
return UNIT_FILE_DISABLED;