summaryrefslogtreecommitdiff
path: root/sendmailadvanced.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-18 15:59:15 +0100
committerErich Eckner <git@eckner.net>2020-03-18 15:59:15 +0100
commitb63aed144d039fd5b87c5d1bf333401b15831921 (patch)
treef8f188c7b1edf6ac2643d30cb99e08790d583494 /sendmailadvanced.in
parent90f76274c472fb5863bfe9833c238516ba6fe09f (diff)
downloadsendmailadvanced-b63aed144d039fd5b87c5d1bf333401b15831921.tar.xz
sendmailadvanced: which -> command -v
Diffstat (limited to 'sendmailadvanced.in')
-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)"