Skip to content

Commit 43a2f9e

Browse files
committed
Prevent v-backup-user from excluding logs folder inside public_html.
1 parent 33e205f commit 43a2f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
210210
exlusion=$(echo -e "$WEB" |tr ',' '\n' |grep "^$domain:")
211211
set -f
212212
fargs=()
213-
fargs+=(--exclude='logs/*')
213+
fargs+=(--exclude='./logs/*')
214214
if [ ! -z "$exlusion" ]; then
215215
xdirs="$(echo -e "$exlusion" |tr ':' '\n' |grep -v $domain)"
216216
for xpath in $xdirs; do

0 commit comments

Comments
 (0)