chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readahead: lower max file size for readahead
[elogind.git]
/
src
/
install.c
diff --git
a/src/install.c
b/src/install.c
index 7443973502e6177ad0794304be3bfe716d7eb5b1..cfbd50ead954c93e518f19d05be6ef7f6402f5fe 100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-479,7
+479,6
@@
static int find_symlinks_fd(
t = path_make_absolute(name, config_path);
if (!t) {
free(p);
- free(dest);
r = -ENOMEM;
break;
}
@@
-1905,7
+1904,7
@@
int unit_file_get_list(
} else if (r > 0) {
f->state = UNIT_FILE_DISABLED;
goto found;
- } else
if (r == 0)
{
+ } else {
f->state = UNIT_FILE_STATIC;
goto found;
}