mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -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\": {"
|
||||
else
|
||||
if [ "$fileds_count" -eq "$i" ]; then
|
||||
echo -e "\t\t\"${field//$/}\": \"${value//,/, }\""
|
||||
echo -e "\t\t\"${field//$/}\": \"$value\","
|
||||
else
|
||||
echo -e "\t\t\"${field//$/}\": \"${value//,/, }\","
|
||||
echo -e "\t\t\"${field//$/}\": \"$value\""
|
||||
fi
|
||||
fi
|
||||
# Updating iterator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue