Corrected a misunderstanding about meaning of code piece
This commit is contained in:
parent
8595b2942f
commit
b4191b0328
@ -200,12 +200,9 @@ if [ x"$CLEANUP" != x"0" -a x"$CLEANUP" != x"1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ts B10714 I do not see much sense in flat failure.
|
# <<< This cannot happen if $no_getopts = 1
|
||||||
# The tests should rather simulate an error condition
|
if [ x"$SIMULATE_FAILURE" != x"0" -a x"$SIMULATE_FAILURE" != x"1" ]; then
|
||||||
# and then let act their error reporting facilities
|
print_help
|
||||||
# if they have some.
|
printf "\n${SELF}: -f simulate failure.\n\n"
|
||||||
# if [ x"$SIMULATE_FAILURE" != x"0" -a x"$SIMULATE_FAILURE" != x"1" ]; then
|
exit 31
|
||||||
# print_help
|
fi
|
||||||
# printf "\n${SELF}: -f simulate failure.\n\n"
|
|
||||||
# exit 31
|
|
||||||
# fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user