Print xiin version before upload (-u) for dev

This commit is contained in:
trash80.v2.0 2011-06-25 07:31:29 +00:00
parent 048abbc12d
commit 192ac06eae

1
inxi
View file

@ -1404,6 +1404,7 @@ debug_data_collector()
if [[ $B_UPLOAD_DEBUG_DATA == 'true' ]];then if [[ $B_UPLOAD_DEBUG_DATA == 'true' ]];then
if [[ $b_run_xiin == 'true' ]];then if [[ $b_run_xiin == 'true' ]];then
echo 'Running automatic upload of data to remote server ftp.techpatterns.com/incoming now...' echo 'Running automatic upload of data to remote server ftp.techpatterns.com/incoming now...'
python ./$xiin_file --version
python ./$xiin_file -u $completed_gz_file ftp.techpatterns.com/incoming python ./$xiin_file -u $completed_gz_file ftp.techpatterns.com/incoming
if [[ $? -gt 0 ]];then if [[ $? -gt 0 ]];then
echo "Error: looks like the ftp upload failed. Error number: $?" echo "Error: looks like the ftp upload failed. Error number: $?"