Skip to content

Commit a9cbdfe

Browse files
committed
Fix for borken exlucssion missing symlinks and hidden files
1 parent bff4530 commit a9cbdfe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bin/v-add-backup-host

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@
1313
type=$1
1414
host=$2
1515
user=$3
16-
password=$4
16+
password=$4; HIDE=4
1717
path=${5-/backup}
1818
port=$6
1919

2020
# Includes
2121
source $VESTA/func/main.sh
2222
source $VESTA/conf/vesta.conf
2323

24-
# Hiding password
25-
A4='******'
26-
EVENT="$DATE $TIME $SCRIPT $A1 $A2 $A3 $A4 $A5 $A6 $A7 $A8 $A9"
27-
2824
# Defining ftp command function
2925
ftpc() {
3026
ftp -p -n $host $port <<EOF

0 commit comments

Comments
 (0)