From 4de36167ac2c8d331cc9d9130ab6c2ac4d2823d3 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Wed, 12 Jun 2024 22:09:12 +0100 Subject: [PATCH] display_dn(): Remove excess subshell Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index b2599def0..8f6b2e411 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3684,11 +3684,8 @@ display_dn - input error" shift 2 # Display DN - ssl_out="$( - "$EASYRSA_OPENSSL" "$format" -in "$path" -noout -subject \ - -nameopt utf8,sep_multiline,space_eq,lname,align)" || \ - die "display_dn: SSL command '$format'" - print "$ssl_out" + "$EASYRSA_OPENSSL" "$format" -in "$path" -noout -subject \ + -nameopt utf8,sep_multiline,space_eq,lname,align } # => display_dn() # Verify certificate against CA