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:
@@ -30,4 +30,4 @@ fail=0
|
||||
cp -f --link src dest || fail=1
|
||||
cp -f --symbolic-link src dest2 || fail=1
|
||||
|
||||
(exit $fail); exit
|
||||
(exit $fail); exit $fail
|
||||
|
||||
Reference in New Issue
Block a user