summaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
committerBernhard Reutner-Fischer2008-05-19 09:29:47 +0000
commit636a1f85e89432601c59cdc3239fc867b4adf051 (patch)
treed43c9ca120c29bf2d4567b1bb0674c6a8bae2b6d /miscutils/less.c
parentcb83abd7b6b052224c1f3b998e863aac76914afd (diff)
downloadbusybox-636a1f85e89432601c59cdc3239fc867b4adf051.zip
busybox-636a1f85e89432601c59cdc3239fc867b4adf051.tar.gz
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 25b91c0..f69bce9 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -882,7 +882,7 @@ static void colon_process(void)
change_file(-1);
break;
case 'q':
- less_exit(0);
+ less_exit(EXIT_SUCCESS);
break;
case 'x':
change_file(0);
@@ -1270,7 +1270,7 @@ static void keypress_process(int keypress)
buffer_line(cur_fline);
break;
case 'q': case 'Q':
- less_exit(0);
+ less_exit(EXIT_SUCCESS);
break;
#if ENABLE_FEATURE_LESS_MARKS
case 'm':