Flip short-circuit to avoid having to capture unnecessary error
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
d29aee3e1b
commit
7e73368a28
@ -1257,9 +1257,7 @@ $(display_dn req "$req_in")
|
||||
fi
|
||||
|
||||
# Add any advanced extensions supplied by env-var:
|
||||
[ -n "$EASYRSA_EXTRA_EXTS" ] && print "$EASYRSA_EXTRA_EXTS"
|
||||
|
||||
: # needed to keep die from inheriting the above test
|
||||
[ -z "$EASYRSA_EXTRA_EXTS" ] || print "$EASYRSA_EXTRA_EXTS"
|
||||
} > "$ext_tmp" || die "\
|
||||
Failed to create temp extension file (bad permissions?) at:
|
||||
$ext_tmp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user