mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
Replace all occurrences of `(exit N); exit' with
`(exit N); exit N'. Otherwise, those many tests could exit with improper exit status when exiting via e.g., a trapped interrupt. Thanks to a report from Bob Proulx.
This commit is contained in:
@@ -6,5 +6,5 @@ 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
|
||||
echo " On some systems, it may not even be run in the background." 1>&2
|
||||
(exit 77; exit); exit
|
||||
(exit 77); exit 77
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user