diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index f8a6367..d86f499 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -248,8 +248,8 @@ read -r -s attribution_passphrase_check echo printf "auditing attribution passphrase" -audit_passphrase "$attribution_passphrase" "$attribution_passphrase_check" -checkcode $? +ret=$(audit_passphrase "$attribution_passphrase" "$attribution_passphrase_check") +echo $ret printf "unsetting attribution_passphrase_check" unset attribution_passphrase_check > /dev/null 2>&1 @@ -299,8 +299,8 @@ read -r -s keystore_passphrase_check echo printf "auditing keystore passphrase..." -audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check" -checkcode $? +ret=$(audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check") +echo -e "$ret" printf "unsetting keystore passphrase check" unset keystore_passphrase_check > /dev/null 2>&1