summaryrefslogtreecommitdiff
path: root/tests/input-tty
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-19 20:22:59 +0000
committerJim Meyering <jim@meyering.net>2002-07-19 20:22:59 +0000
commit164e61fbb94feebc56c05607671bbab53427fd16 (patch)
tree1df2243935fa2b3c005d72f8df9907464c6f9f98 /tests/input-tty
parent4a8560e2a0b94d2812e8b1cf3fe68dad5e84a362 (diff)
downloadcoreutils-164e61fbb94feebc56c05607671bbab53427fd16.tar.xz
tweak for better exit
Diffstat (limited to 'tests/input-tty')
-rw-r--r--tests/input-tty2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/input-tty b/tests/input-tty
index 7353aaefd..7b2f426f8 100644
--- a/tests/input-tty
+++ b/tests/input-tty
@@ -4,5 +4,5 @@ tty -s || have_input_tty=no
if test "$have_input_tty" = no; then
echo "$0: This test must have a controlling input \`terminal'," 1>&2
echo " so it may not be run via \`batch', \`at', or \`rsh'." 1>&2
- exit 77
+ (exit 77; exit); exit
fi