-
Committer:
tg
-
Date:
2020-11-29 00:24:43 UTC
-
Revision ID:
tg-20201129002443-61kzx0zsu0lpsz8x
make more 'set -ueo pipefail'-safe
mostly by sprinkling set +e where appropriate and using explicit error
handling especially where arithmetics are used, the alternative of doing
http://www.mirbsd.org/cvs.cgi/contrib/hosted/tg/progress-bar#rev1.6 would
be worse; also, end functions with \: (= return 0) in many places and do
not use implicitly-initialised variables; also protect against some unset