1
0
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:
Jim Meyering
2004-06-23 15:07:00 +00:00
parent 11f05299f9
commit 112efa81f2
94 changed files with 168 additions and 168 deletions

View File

@@ -18,7 +18,7 @@ cd $tmp || framework_failure=1
if test $framework_failure = 1; then
echo 'failure in testing framework'
(exit 1); exit
(exit 1); exit 1
fi
mkdir -p $tmp/1 $tmp/2
@@ -31,4 +31,4 @@ du $tmp/1 $tmp/2 > /dev/null || fail=1
du . $tmp > /dev/null || fail=1
du .. $tmp > /dev/null || fail=1
(exit $fail); exit
(exit $fail); exit $fail