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

Fix tiny bashism, keeping the plugin as /bin/sh

This commit is contained in:
Stig Sandbeck Mathisen 2014-10-04 20:33:52 +02:00
parent a2bedd79e7
commit 2ebcc8dcdc

View file

@ -19,7 +19,7 @@ room=${0##*tinychat_users_}
## ##
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)"