Alexandr Loskutov 8 лет назад
Родитель
Сommit
c042fa2689
1 измененных файлов с 1 добавлено и 1 удалено
  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
             if [ "$SSL" = 'yes' ]; then
                 for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
                 for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
                     crt=$(echo $crt|sed -e "s/ssl.//")
                     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
                 done
             fi
             fi