mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-29 21:15:15 +08:00
9 lines
275 B
Plaintext
9 lines
275 B
Plaintext
# This test is used from at least two separate scripts.
|
|
|
|
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
|
|
fi
|