Explorar o código

removed duplicate loop

Serghey Rodin %!s(int64=7) %!d(string=hai) anos
pai
achega
00bc162fe6
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      bin/v-backup-user

+ 0 - 1
bin/v-backup-user

@@ -226,7 +226,6 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
         fargs+=(--exclude='logs/*')
         if [ ! -z "$exlusion" ]; then
             xdirs="$(echo -e "$exlusion" |tr ':' '\n' |grep -v $domain)"
-            for xpath in $xdirs; do
             for xpath in $xdirs; do
                 if [ -d "$xpath" ]; then
                     fargs+=(--exclude=$xpath/*)