summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsendmailadvanced.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index e61a896..5bb7e2a 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -103,7 +103,7 @@ fi
for gpg_recipient in "${gpg_recipients[@]}"; do
gpg --list-keys "${gpg_recipient}" &> /dev/null || encrypt=false
done
-which hashcash &> /dev/null || stamp=false
+command -v hashcash &> /dev/null || stamp=false
eval set -- "$(getopt -o eh:i:st --long encrypt,no-encrypt,hook:,help,inline:,no-inline,stamp,no-stamp,version -n "$(basename "$0")" -- "$@" || echo verwendung)"