Explorar o código

A donut for stik.name who spotted typo in sed statement

Serghey Rodin %!s(int64=12) %!d(string=hai) anos
pai
achega
b785477f31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/v-rebuild-web-domains

+ 1 - 1
bin/v-rebuild-web-domains

@@ -129,7 +129,7 @@ else
             fi
         else
             conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
-            sed -i "/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
+            sed -i "s/.*\/$user\/.*$PROXY_SYSTEM.conf/d" $proxy_conf
             rm -f $HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf
         fi
     fi