summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-06 22:27:42 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-06 23:03:12 +0100
commiteceb8483e5a02e8e337486b89719a3b99cfcb7ce (patch)
treeeb7309eacb2e152d53d16ed70c6ada071c2ad1de
parent29a5ca9baa58e55c4d9e1d008cdd014aa9c3c3e1 (diff)
activate: reduce log settings to normal
-rw-r--r--src/activate/activate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 8b282bda7f..738cd83c52 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -375,9 +375,8 @@ int main(int argc, char **argv, char **envp) {
int r, n;
int epoll_fd = -1;
- log_set_max_level(LOG_DEBUG);
- log_show_color(true);
log_parse_environment();
+ log_open();
r = parse_argv(argc, argv);
if (r <= 0)
@@ -391,7 +390,7 @@ int main(int argc, char **argv, char **envp) {
if (n < 0)
return EXIT_FAILURE;
- while (true) {
+ for (;;) {
struct epoll_event event;
r = epoll_wait(epoll_fd, &event, 1, -1);