]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tweak for better exit
authorJim Meyering <jim@meyering.net>
Fri, 19 Jul 2002 20:22:59 +0000 (20:22 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 Jul 2002 20:22:59 +0000 (20:22 +0000)
tests/input-tty

index 7353aaefd068b1a7f5d80b128736fec3b71f7a95..7b2f426f85e7bd5187b568bf5b1312e411b3cd60 100644 (file)
@@ -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