summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-09-27 03:01:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-09-27 03:01:43 +0000
commita3d1f6499244607109953cbee01e2ba850623923 (patch)
tree71815b7381680aafd639ac666d2797d36ec59c29 /games
parent7ba7fce47cca6fd3d7d7f2aaa1a4d3eebc2d477e (diff)
typing ^C and seeing "terminated by signal %d" is so ... I don't
have the words ok florian
Diffstat (limited to 'games')
-rw-r--r--games/grdc/grdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c
index 9dc2ff412c8..a508cebc495 100644
--- a/games/grdc/grdc.c
+++ b/games/grdc/grdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grdc.c,v 1.36 2022/09/24 16:07:26 florian Exp $ */
+/* $OpenBSD: grdc.c,v 1.37 2022/09/27 03:01:42 deraadt Exp $ */
/*
*
* Copyright 2002 Amos Shapir. Public domain.
@@ -277,7 +277,7 @@ main(int argc, char *argv[])
clear();
refresh();
endwin();
- errx(1, "terminated by signal %d", sigtermed);
+ exit(0);
}
} while (!sigalrmed);
standend();