]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/utmp-wtmp.c
core/exec: do not crash with UtmpMode=user without User= setting
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Feb 2024 04:04:28 +0000 (13:04 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Feb 2024 09:51:00 +0000 (10:51 +0100)
commitd42b81f93f81e45f7a4053c6522ec3a2145ff136
tree00c4636769932161d166e53bc744609a81a74bf1
parent190ff0d0a8d1fc367ec04296f24cd1cab5b7543b
core/exec: do not crash with UtmpMode=user without User= setting

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2264404.

Replaces #31356.
src/core/exec-invoke.c
src/shared/utmp-wtmp.c