]> git.ipfire.org Git - thirdparty/systemd.git/commit
login: avoid external process call
authorMax Harmathy <max.harmathy@web.de>
Fri, 12 Jan 2018 13:16:43 +0000 (14:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Jan 2018 17:02:57 +0000 (18:02 +0100)
commit5bcdbb2249896bdc477df7e0d9c7865155db476e
treed2904a4dc0d7e2fb23f6758f66d851395831f0b2
parent8647283e453e4039029e2b21270241fa4010b3d8
login: avoid external process call

Use a shell builtin of posix shells insteaf of calling 'which'.
See also http://stackoverflow.com/a/677212
xorg/50-systemd-user.sh