tweaked errors for wget xiin

This commit is contained in:
inxi-svn 2011-05-06 21:31:40 +00:00
parent 88835fd4f9
commit d040defe62

3
inxi
View file

@ -1257,8 +1257,7 @@ debug_data_collector()
# if nothing got downloaded kick out error, otherwise we'll use an older version
if [[ $? -gt 0 && ! -f xiin ]];then
error_handler 17 'xiin'
fi
if [[ -n $( grep -s 'checkPython' xiin ) ]];then
elif [[ -n $( grep -s 'checkPython' xiin ) ]];then
echo 'Running xiin tool now on /sys...'
python ./xiin -d /sys -f $xiin_data_file || error_handler 19 'xiin'
else