Closed helgi closed 4 years ago
Hello @helgi,
I have replaced calls to 'which' by calls to 'command -v', which should not emit error messages. Can you check that commit 27618ae824612c95ae59af69480812a7ad9e1067 fixes your problem ?
Looks good to me, thanks :) probably not required since it’s in a subshell already but would perhaps redirect errors to dev null
My system doesn't have
mail
resulting inwhich: no mail in (/sbin:/bin:/usr/sbin:/usr/bin)
on every run; would be good to only look formail
if it is going to be used or silence it as checks are done later on in the code as well :)