From 00bc162fe6d1d5c5d0cbc336124bc1521299316a Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 20 Nov 2018 11:20:21 +0200 Subject: [PATCH] removed duplicate loop --- bin/v-backup-user | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/v-backup-user b/bin/v-backup-user index 0c9e7c1b..4ecc66aa 100755 --- a/bin/v-backup-user +++ b/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/*)