chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: read special startup dirs only on the respective distros
[elogind.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index e67d2225bd41d029580948e9046ec8d49115b1a7..36dea9b3c63c4489c71ffaa12ef7f057455234cd 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-836,6
+836,9
@@
int main(int argc, char *argv[]) {
return 1;
}
+ if (label_init() < 0)
+ goto finish;
+
log_show_color(isatty(STDERR_FILENO) > 0);
log_show_location(false);
log_set_max_level(LOG_INFO);
@@
-1113,5
+1116,7
@@
finish:
if (getpid() == 1)
freeze();
+ label_finish();
+
return retval;
}