summaryrefslogtreecommitdiff
path: root/credentials
diff options
context:
space:
mode:
authorpraschdorff <p.raschdorff@googlemail.com>2018-03-06 22:25:02 +0100
committerGitHub <noreply@github.com>2018-03-06 22:25:02 +0100
commitf91aaf0cdb8ac975e0e8503cd68f63b56b931249 (patch)
tree4eb61d380490f97e8f6cc15a3809d1184f6aa0aa /credentials
parent31002f29a78649d113f5323232e71101ce759fa5 (diff)
changed GPG parameters from -q to --quiet
under Qubes OS the use of qubes-gpg-client (instead of gpg) will not work with the -q option, but with the --quiet option. As such using the full parameter names will not harm to all "normal" users, but make the script more stable for other users. Additionaly it makes the scripts more readable for beginners to understand what the script is doing.
Diffstat (limited to 'credentials')
-rwxr-xr-xcredentials/getmuttpass2
1 files changed, 1 insertions, 1 deletions
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
index e01c5de..f94cb82 100755
--- a/credentials/getmuttpass
+++ b/credentials/getmuttpass
@@ -1,4 +1,4 @@
#!/bin/bash
-pass=$(gpg2 -d -q ~/.config/mutt/credentials/$1.gpg)
+pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"