1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Change "&>" bashism to "> ... 2>&1", keeping the script as /bin/sh

This commit is contained in:
Stig Sandbeck Mathisen 2014-10-04 22:15:24 +02:00
parent a55f4e4a4d
commit ea4a0c6244

View file

@ -32,7 +32,7 @@ reddit_user=${0##*reddit_karma_}
##
if [ "$1" = "autoconf" ]; then
# Check that curl is installed
if hash curl &>/dev/null; then
if hash curl >/dev/null 2>&1; then
echo "yes"
else
echo "no (no curl installed)"