Closed fluca1978 closed 4 years ago
FreeBSD doesn't have bash
installed by default. If memory serves me right, neither OpenBSD does.
@vrurg the PR itself is right. When using bash-specific features you have to use bash as the shell. Otherwise it will be failing for those who have bash on their systems but have a different default shell.
I guess you're trying to say that the use of pipefail
must be eliminated. Yeah, maybe that's a better idea.
I just noticed that bash
is not that omnipresent, as linux users often expect it to be. If pipefail
can be eliminated – I think it'd be for better. If not, then the need to have bash installed must be mentioned somewhere.
Hopefully, I made myself clear. More than a week of fighting with bareos makes be rather dull...
This is sadly a duplicate of #8 and has already been fixed back in May. But we still didn't manage to roll out the change to the website. Sorry for that!
The
sh
available on Linux does not include apipefail
option to set, that appear to be present on Bash and Zsh. This has been tested on Ubuntu Linux, I suspect it is the same on other operating systems.