summaryrefslogtreecommitdiffstats
path: root/src/oom/oomd.c
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/oom/oomd.c
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/oom/oomd.c')
-rw-r--r--src/oom/oomd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oom/oomd.c b/src/oom/oomd.c
index a5b4451913..2e331e267f 100644
--- a/src/oom/oomd.c
+++ b/src/oom/oomd.c
@@ -122,7 +122,7 @@ static int run(int argc, char *argv[]) {
unsigned long long s = 0;
int r;
- log_setup_service();
+ log_setup();
r = parse_argv(argc, argv);
if (r <= 0)