When nix-portable falls back to using /etc/ssl it sets $sslBindto a single path instead of a from/to pair.
When processing this bind, makeBindArgs, expecting pairs, unconditionally calls shift twice causing the script to exit with no error message (since set -e is specificed).
This PR sets sslBind to /etc/ssl /etc/ssl in this case and has makeBindArgs print out an error.
When
nix-portable
falls back to using/etc/ssl
it sets$sslBind
to a single path instead of a from/to pair.When processing this bind,
makeBindArgs
, expecting pairs, unconditionally callsshift
twice causing the script to exit with no error message (sinceset -e
is specificed).This PR sets
sslBind
to/etc/ssl /etc/ssl
in this case and hasmakeBindArgs
print out an error.