summaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 241f7f8..f869a9e 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -1103,7 +1103,7 @@ static int64_t getch_nowait(void)
goto again;
}
/* EOF/error (ssh session got killed etc) */
- less_exit(0);
+ less_exit(EXIT_SUCCESS);
}
set_tty_cooked();
return key64;