mrrl-logincaps

MRRL version of logincaps
git clone https://ccx.te2000.cz/git/mrrl-logincaps
Log | Files | Refs

commit d70c82dbdbc79ad7f912ec3042c2e6ef2c629740
parent 485905e4d352954ec063b42525cd50b23a3be924
Author: ccx <ccx@te2000.cz>
Date:   Tue, 12 Mar 2024 12:25:44 +0000

Don't call $HOME/loginexec directly

Diffstat:
Mlogin/login.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/login/login.c b/login/login.c @@ -224,7 +224,7 @@ void login_main(void) ttyname(tty), hh ? "from" : "", hh ? TT.hostname : ""); if(use_loginexec) { - execl(loginexec, loginexec, (char *)0); + execl(LOGINEXEC_PATH, LOGINEXEC_PATH, loginexec, (char *)0); } else { // not using xexec(), login calls absolute path from filesystem so must exec() execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0);