Parcourir la source

fixed v_change_web_domain_ip

Serghey Rodin il y a 14 ans
Parent
commit
fbc3332b10
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      func/ip_func.sh

+ 1 - 1
func/ip_func.sh

@@ -231,7 +231,7 @@ change_domain_ip() {
     tpl_file="$5"
 
     # Get ServerName line
-    serv_line=$(grep -n 'ServerName %domain%' "$tpl_file" |cut -f 1 -d :)
+    serv_line=$(grep -n 'ServerName %domain_idn%' "$tpl_file" |cut -f 1 -d :)
 
     # Get tpl_file last line
     last_line=$(wc -l $tpl_file|cut -f 1 -d ' ')