1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-14 02:28:05 -07:00

Fixed JSON listing

This commit is contained in:
Serghey Rodin 2011-12-26 13:24:22 +02:00
commit 520f82304b

View file

@ -20,7 +20,7 @@ json_list_rrd() {
if [ "$i" -ne 1 ]; then
echo -e "\t},"
fi
echo -e "\\t\"$i\""
echo -e "\\t\"$i\": {"
echo -e "\t\t\"TYPE\": \"$type\"",
echo -e "\t\t\"RRD\": \"$rrd\""
(( ++i))