env_parallel.bash: Allow using pipefail + inherit_errexit.

This commit is contained in:
Ole Tange 2021-03-23 22:08:12 +01:00
parent 1ef1b973c0
commit 97adff0293

View file

@ -32,7 +32,8 @@ env_parallel() {
# env_parallel.bash
_names_of_ALIASES() {
compgen -a
# No aliases will return false. This error should be ignored.
compgen -a || true
}
_bodies_of_ALIASES() {
local _i
@ -387,7 +388,7 @@ _parset_main() {
return 255
fi
if [ "$_parset_NAME" = "--version" ] ; then
echo "parset 20210322 (GNU parallel `parallel --minversion 1`)"
echo "parset 20210323 (GNU parallel `parallel --minversion 1`)"
echo "Copyright (C) 2007-2021 Ole Tange, http://ole.tange.dk and Free Software"
echo "Foundation, Inc."
echo "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>"