aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index ed74879d1..de30ffb28 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 */