mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 14:15:34 +07:00
systemctl: drop redundant getenv('LESS') check
This commit is contained in:
parent
ec14911e0d
commit
4c00bf2561
@ -5328,8 +5328,7 @@ static void pager_open(void) {
|
|||||||
dup2(fd[0], STDIN_FILENO);
|
dup2(fd[0], STDIN_FILENO);
|
||||||
close_pipe(fd);
|
close_pipe(fd);
|
||||||
|
|
||||||
if (!getenv("LESS"))
|
setenv("LESS", "FRSX", 0);
|
||||||
setenv("LESS", "FRSX", 0);
|
|
||||||
|
|
||||||
prctl(PR_SET_PDEATHSIG, SIGTERM);
|
prctl(PR_SET_PDEATHSIG, SIGTERM);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user