summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index ed74879..de30ffb 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -523,7 +523,7 @@ static void reset_term(void)
static void sig_catcher(int sig ATTRIBUTE_UNUSED)
{
reset_term();
- exit(1);
+ exit(EXIT_FAILURE);
}
#endif /* FEATURE_USE_TERMIOS */