hide stderr from which(1) on centos
CentOs which(1) has different output than debian/ubuntu which is just informative, but looks like an error - need to add '2>/dev/null' to all uses of 'which' command.
See https://www.howtoforge.com/community/threads/error-installing-update-to-3-2-7p1.88618/