summaryrefslogtreecommitdiffstats
path: root/src/sysext
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-08 11:45:42 +0100
committerGitHub <noreply@github.com>2021-02-08 11:45:42 +0100
commitad22e7cf5c3b2613d528cb5aac70bad2c60ac037 (patch)
treed23a8c167ddad5c56cf826ce6cf03d136d5c29b8 /src/sysext
parentMerge pull request #18331 from yuwata/test-udev-event-spawn (diff)
parentlog: skip reading the kernel command line if the process is invoked by a script (diff)
downloadsystemd-ad22e7cf5c3b2613d528cb5aac70bad2c60ac037.tar.xz
systemd-ad22e7cf5c3b2613d528cb5aac70bad2c60ac037.zip
Merge pull request #18375 from yuwata/cli-tools-also-read-kernel-command-line
tree-wide: make CLI tools also read kernel command line when run as service
Diffstat (limited to 'src/sysext')
-rw-r--r--src/sysext/sysext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index ee38e49ec9..a17f4e2c02 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -1027,7 +1027,7 @@ static int sysext_main(int argc, char *argv[]) {
static int run(int argc, char *argv[]) {
int r;
- log_setup_cli();
+ log_setup();
r = parse_argv(argc, argv);
if (r <= 0)