Skip to content

Commit 5c8e3d3

Browse files
committed
flush vars before list them
1 parent 4049a31 commit 5c8e3d3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/v-list-user-backup-exclusions

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ is_object_valid 'user' 'USER' "$user"
7474
# Action #
7575
#----------------------------------------------------------#
7676

77+
# Flush variables
78+
WEB=''
79+
DNS=''
80+
MAIL=''
81+
DB=''
82+
CRON=''
83+
USER=''
84+
7785
# Defining fileds to select
7886
touch $USER_DATA/backup-excludes.conf
7987
fields="\$WEB \$DNS \$MAIL \$DB \$CRON \$USER"

0 commit comments

Comments
 (0)