mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
[plugins/nextcloud_] Fix type in autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
cd759e2f5c
commit
3b478bab2f
1 changed files with 1 additions and 1 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue