diff options
Diffstat (limited to 'miscutils/less.c')
-rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 241f7f8ba..f869a9e82 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -1103,7 +1103,7 @@ static int64_t getch_nowait(void) | |||
1103 | goto again; | 1103 | goto again; |
1104 | } | 1104 | } |
1105 | /* EOF/error (ssh session got killed etc) */ | 1105 | /* EOF/error (ssh session got killed etc) */ |
1106 | less_exit(0); | 1106 | less_exit(EXIT_SUCCESS); |
1107 | } | 1107 | } |
1108 | set_tty_cooked(); | 1108 | set_tty_cooked(); |
1109 | return key64; | 1109 | return key64; |