ftp backup fix for long listing

This commit is contained in:
Serghey Rodin 2013-03-17 18:45:46 +02:00
commit fa8be7edb0

View file

@ -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