summaryrefslogtreecommitdiffstats
path: root/src/sysext/sysext.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-01-19 19:54:59 +0100
committerLennart Poettering <lennart@poettering.net>2021-01-20 17:44:53 +0100
commit1f3707aeea7dccaf12c15efa3fe2ac3843c5a52e (patch)
tree1d6742eec8bb7fc0187ab445b1a7c07bf6be59c6 /src/sysext/sysext.c
parentpath-util: simplify check_x_access() (diff)
downloadsystemd-1f3707aeea7dccaf12c15efa3fe2ac3843c5a52e.tar.xz
systemd-1f3707aeea7dccaf12c15efa3fe2ac3843c5a52e.zip
sysext: use log_setup_cli()
Diffstat (limited to '')
-rw-r--r--src/sysext/sysext.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index 8a8cd7535e..17b8dcd2fc 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -875,9 +875,7 @@ static int run(int argc, char *argv[]) {
_cleanup_(hashmap_freep) Hashmap *images = NULL;
int r;
- log_show_color(true);
- log_parse_environment();
- log_open();
+ log_setup_cli();
r = parse_argv(argc, argv);
if (r <= 0)