mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
Print xiin version before upload (-u) for dev
This commit is contained in:
parent
048abbc12d
commit
192ac06eae
1
inxi
1
inxi
|
@ -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: $?"
|
||||||
|
|
Loading…
Reference in a new issue