mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
improved single domain listing
This commit is contained in:
parent
5c87dfb2dd
commit
fa7e3b964a
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ json_list_domain() {
|
||||||
echo -e "\t\"$value\": {"
|
echo -e "\t\"$value\": {"
|
||||||
else
|
else
|
||||||
if [ "$fileds_count" -eq "$i" ]; then
|
if [ "$fileds_count" -eq "$i" ]; then
|
||||||
echo -e "\t\t\"${field//$/}\": \"${value//,/, }\""
|
echo -e "\t\t\"${field//$/}\": \"$value\","
|
||||||
else
|
else
|
||||||
echo -e "\t\t\"${field//$/}\": \"${value//,/, }\","
|
echo -e "\t\t\"${field//$/}\": \"$value\""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Updating iterator
|
# Updating iterator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue