summaryrefslogtreecommitdiff
path: root/console-tools/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/resize.c')
-rw-r--r--console-tools/resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/resize.c b/console-tools/resize.c
index 01b1442..8a50f9d 100644
--- a/console-tools/resize.c
+++ b/console-tools/resize.c
@@ -17,7 +17,7 @@ static void
onintr(int sig ATTRIBUTE_UNUSED)
{
tcsetattr(STDERR_FILENO, TCSANOW, &old_termios);
- exit(1);
+ exit(EXIT_FAILURE);
}
int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;