summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c3
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);