mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Change "&>" bashism to "> ... 2>&1", keeping the script as /bin/sh
This commit is contained in:
parent
a55f4e4a4d
commit
ea4a0c6244
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ reddit_user=${0##*reddit_karma_}
|
||||||
##
|
##
|
||||||
if [ "$1" = "autoconf" ]; then
|
if [ "$1" = "autoconf" ]; then
|
||||||
# Check that curl is installed
|
# Check that curl is installed
|
||||||
if hash curl &>/dev/null; then
|
if hash curl >/dev/null 2>&1; then
|
||||||
echo "yes"
|
echo "yes"
|
||||||
else
|
else
|
||||||
echo "no (no curl installed)"
|
echo "no (no curl installed)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue