From b63aed144d039fd5b87c5d1bf333401b15831921 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Mar 2020 15:59:15 +0100 Subject: sendmailadvanced: which -> command -v --- sendmailadvanced.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- cgit v1.2.3-70-g09d2