1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

[plugins/nextcloud_] Fix type in autoconf

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2020-11-28 12:55:16 +11:00 committed by Lars Kruse
parent cd759e2f5c
commit 3b478bab2f

View file

@ -79,7 +79,7 @@ case $1 in
if [ ! -x "$(command -v curl)" ]; then if [ ! -x "$(command -v curl)" ]; then
echo "no (curl not found)" echo "no (curl not found)"
elif [ ! -x "$(command -v jq)" ]; then elif [ ! -x "$(command -v jq)" ]; then
echo "no (jq not found)"exit 0 echo "no (jq not found)"
else else
fetch_url -I -u "${USERNAME}:${PASSWORD}" -I "${SCHEME}${DOMAIN}${API_PATH}" \ fetch_url -I -u "${USERNAME}:${PASSWORD}" -I "${SCHEME}${DOMAIN}${API_PATH}" \
| grep -iq "Content-Type: application/json" \ | grep -iq "Content-Type: application/json" \