diff options
-rw-r--r-- | src/activate/activate.c | 5 |
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); |