Skip to content

Commit fd902a9

Browse files
committed
absolute ftp path to avoid kerberos issues
1 parent 0e88976 commit fd902a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v-add-backup-ftp-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ source $VESTA/conf/vesta.conf
2323

2424
# Defining ftp command function
2525
ftpc() {
26-
ftp -n $host $ftp_port <<EOF
26+
/usr/bin/ftp -n $host $ftp_port <<EOF
2727
quote USER $ftp_user
2828
quote PASS $ftp_password
2929
binary

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ local_backup(){
509509

510510
# Defining ftp command function
511511
ftpc() {
512-
ftp -n $HOST $PORT <<EOF
512+
/usr/bin/ftp -n $HOST $PORT <<EOF
513513
quote USER $USERNAME
514514
quote PASS $PASSWORD
515515
binary

0 commit comments

Comments
 (0)