Skip to content

Commit

Permalink
display-san: Replace '&&' with 'if/then' to avoid hanging error exit
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Oct 29, 2023
1 parent de8051a commit 5571aac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -4102,7 +4102,9 @@ display_san - input error"
)"

# Print auto SAN
[ "$san" ] && print "$san"
if [ "$san" ]; then
print "$san"
fi
fi
} # => display_san()

Expand Down

0 comments on commit 5571aac

Please sign in to comment.