Przeglądaj źródła

fix for new domain deletetion

Serghey Rodin 8 lat temu
rodzic
commit
3fbd3014c7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      func/domain.sh

+ 1 - 1
func/domain.sh

@@ -277,7 +277,7 @@ del_web_config() {
     fi
 
     if [ -e "$conf" ]; then
-        sed -i "|$conf|d" /etc/$1/conf.d/vesta.conf
+        sed -i "\|$conf|d" /etc/$1/conf.d/vesta.conf
         rm -f $conf
     else
         # fallback to old style configs