X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=charts.d%2Fpostfix.chart.sh;h=85604fcbe2f6e2fdd30c4c16b26d253f745495c7;hb=577c339c1e606cd6935fc0fced90a31f63bf5e8d;hp=8106414a1f6da024482f348782bb97e2e5ec0abf;hpb=5cbfe38ab960e68d9e50e2a69349bd6db8b7d6a4;p=netdata.git diff --git a/charts.d/postfix.chart.sh b/charts.d/postfix.chart.sh old mode 100755 new mode 100644 index 8106414a..85604fcb --- a/charts.d/postfix.chart.sh +++ b/charts.d/postfix.chart.sh @@ -23,7 +23,7 @@ postfix_check() { # try to find the postqueue executable if [ -z "$postfix_postqueue" -o ! -x "$postfix_postqueue" ] then - postfix_postqueue="`which postqueue 2>/dev/null`" + postfix_postqueue="$(which postqueue 2>/dev/null || command -v postqueue 2>/dev/null)" fi if [ -z "$postfix_postqueue" -o ! -x "$postfix_postqueue" ]