mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Temporary fix for parsing backup conf
This commit is contained in:
parent
931fb5beeb
commit
a5712542d7
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ json_list() {
|
|||
i=1
|
||||
objects=$(grep BACKUP $USER_DATA/backup.conf |wc -l)
|
||||
echo "{"
|
||||
while read str; do
|
||||
while read -r str; do
|
||||
eval $str
|
||||
echo -n ' "'$BACKUP'": {
|
||||
"TYPE": "'$TYPE'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue