mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-05-07 09:47:00 +02:00
ftp backup fix for long listing
This commit is contained in:
@@ -502,7 +502,6 @@ ftp_backup(){
|
||||
# Checking ftp permission
|
||||
ftmpdir=$(mktemp -u -p $BPATH)
|
||||
command="mkdir $ftmpdir
|
||||
ls $ftmpdir
|
||||
rm $ftmpdir"
|
||||
if [ ! -z "$(ftpc "$command")" ] ; then
|
||||
rm -rf $tmpdir
|
||||
|
||||
Reference in New Issue
Block a user