mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
ftp backup fix for long listing
This commit is contained in:
parent
26a68dc5ce
commit
fa8be7edb0
1 changed files with 0 additions and 1 deletions
|
@ -502,7 +502,6 @@ ftp_backup(){
|
||||||
# Checking ftp permission
|
# Checking ftp permission
|
||||||
ftmpdir=$(mktemp -u -p $BPATH)
|
ftmpdir=$(mktemp -u -p $BPATH)
|
||||||
command="mkdir $ftmpdir
|
command="mkdir $ftmpdir
|
||||||
ls $ftmpdir
|
|
||||||
rm $ftmpdir"
|
rm $ftmpdir"
|
||||||
if [ ! -z "$(ftpc "$command")" ] ; then
|
if [ ! -z "$(ftpc "$command")" ] ; then
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue