diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-04 01:18:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-04 01:18:57 +0100 |
commit | 4c00bf25614779a58ca57dfe8e2c477c926c5c2b (patch) | |
tree | 8741a6c415db6203c9059097a9c0b7ba65aa3b0d | |
parent | ec14911e0d6b9473f4f1d6b43d7fcd67c48c2ffc (diff) |
systemctl: drop redundant getenv('LESS') check
-rw-r--r-- | src/systemctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemctl.c b/src/systemctl.c index 0908b6ae02..5d2efbe95f 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -5328,8 +5328,7 @@ static void pager_open(void) { dup2(fd[0], STDIN_FILENO); close_pipe(fd); - if (!getenv("LESS")) - setenv("LESS", "FRSX", 0); + setenv("LESS", "FRSX", 0); prctl(PR_SET_PDEATHSIG, SIGTERM); |