Skip to content

Commit

Permalink
scripts: silence gpg outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed Apr 16, 2024
1 parent d326a50 commit 850d478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ gpg_decrypt_file() {

echo "Decrypting ${input_file_path} to ${tmp_output_file_path}"

gpg --local-user "${gpg_encryption_subkey}" --armor --decrypt --yes --output "${tmp_output_file_path}" "${input_file_path}" || {
gpg --quiet --no-verbose --local-user "${gpg_encryption_subkey}" --armor --decrypt --yes --output "${tmp_output_file_path}" "${input_file_path}" >/dev/null || {
echo "failed to decrypt file ${input_file_path} to ${tmp_output_file_path}"
return 1
}
Expand Down

0 comments on commit 850d478

Please sign in to comment.