Selaa lähdekoodia

Fix backup restore

Alexandr Loskutov 8 vuotta sitten
vanhempi
sitoutus
c042fa2689
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      bin/v-restore-user

+ 1 - 1
bin/v-restore-user

@@ -375,7 +375,7 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
             if [ "$SSL" = 'yes' ]; then
                 for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
                     crt=$(echo $crt|sed -e "s/ssl.//")
-                    cp -f $tmpdir/web/$domain/conf/$crt $USER_DATA/ssl/$crt
+                    cp -f $tmpdir/web/$domain/conf/ssl.$crt $USER_DATA/ssl/$crt
                 done
             fi