]> git.ipfire.org Git - thirdparty/systemd.git/commit
run0: make sure we submit $SHELL to remote
authorMike Yuan <me@yhndnzj.com>
Tue, 8 Apr 2025 20:35:14 +0000 (22:35 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 9 Apr 2025 17:30:17 +0000 (19:30 +0200)
commitba7fb8cf5f8f6ad26ff5509722ab4795e566bf09
treec60724ca95d16387a31b6829a7a85048ffed0085
parent2c885a0332048c416acf1479292294dc14cdeccd
run0: make sure we submit $SHELL to remote

Normally, the service manager sets $SHELL to the target user's
login shell, but run0 always overrides that with either
originating user's shell or value from --setenv=SHELL=. In both cases
$SHELL needs to be sent.

Fixes #35007
src/run/run.c