fix wildcards in backup exclusion list

This commit is contained in:
Serghey Rodin 2016-08-25 19:30:54 +03:00
parent b89f602f7b
commit dfb01cc473
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ source $VESTA/func/main.sh
# JSON list function
json_list() {
set -f
i=1
echo '{'
echo ' "WEB": {'
@ -27,7 +28,7 @@ json_list() {
object_keys=$(echo ${object//:/ } |wc -w)
for key in $(echo "${object/:/ }"); do
if [ "$j" -eq 1 ]; then
echo -n " \"$key\": "
echo -n " \"${key}\": "
if [ "$object_keys" -eq 1 ]; then
echo -n '""'
fi

View file

@ -77,7 +77,7 @@
<?
if (empty($value)) echo __('no exclusions');
foreach ($value as $ex_key => $ex_value) {
echo '<b>'.$ex_key.':</b>'.$ex_value.'<br>';
echo '<b>'.$ex_key.' </b>'.$ex_value.'<br>';
}
?>
</div>