mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
tweaked errors for wget xiin
This commit is contained in:
parent
88835fd4f9
commit
d040defe62
3
inxi
3
inxi
|
@ -1257,8 +1257,7 @@ debug_data_collector()
|
||||||
# if nothing got downloaded kick out error, otherwise we'll use an older version
|
# if nothing got downloaded kick out error, otherwise we'll use an older version
|
||||||
if [[ $? -gt 0 && ! -f xiin ]];then
|
if [[ $? -gt 0 && ! -f xiin ]];then
|
||||||
error_handler 17 'xiin'
|
error_handler 17 'xiin'
|
||||||
fi
|
elif [[ -n $( grep -s 'checkPython' xiin ) ]];then
|
||||||
if [[ -n $( grep -s 'checkPython' xiin ) ]];then
|
|
||||||
echo 'Running xiin tool now on /sys...'
|
echo 'Running xiin tool now on /sys...'
|
||||||
python ./xiin -d /sys -f $xiin_data_file || error_handler 19 'xiin'
|
python ./xiin -d /sys -f $xiin_data_file || error_handler 19 'xiin'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue