From 520f82304b03fe89015e33bc3576a2d748253286 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 26 Dec 2011 13:24:22 +0200 Subject: [PATCH] Fixed JSON listing --- bin/v_list_sys_rrd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v_list_sys_rrd b/bin/v_list_sys_rrd index 8e47c7bb..bb82a1ea 100755 --- a/bin/v_list_sys_rrd +++ b/bin/v_list_sys_rrd @@ -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))