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

Added double quote to prevent globbing and word splitting

This commit is contained in:
Benoit.S « Benpro » 2016-04-30 17:23:23 +02:00
parent 0bf9659577
commit 187545eabe

View file

@ -45,5 +45,5 @@ planes.label planes"
exit 0;;
esac
planes=$(curl -qs $MONITOR | grep -Eo '"d11_map_size":"[0-9]+"' | grep -Eo '[0-9]+' | tail -1)
planes=$(curl -qs "$MONITOR" | grep -Eo '"d11_map_size":"[0-9]+"' | grep -Eo '[0-9]+' | tail -1)
echo "planes.value $planes"