]> git.ipfire.org Git - thirdparty/shadow.git/commit
su: Fix su - regression
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 30 Dec 2024 14:12:32 +0000 (15:12 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 31 Dec 2024 18:06:00 +0000 (19:06 +0100)
commite3d051e4a8233d8d012fa29f4077f1c72ebfaf7e
treeb870810c7bc3c0aa2c1effc3cf21934dae90bcbb
parente2512d5741d4a44bdd81a8c2d0029b6222728cf0
su: Fix su - regression

Launch a login shell again if requested through "su -" or "su -l".

Fixes: d9923431eb38 ("src/: Use xasprintf() instead of its pattern")
Closes: <https://github.com/shadow-maint/shadow/issues/1160>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
src/su.c