From d040defe62817203eba9deb5d2d6469a70fc045f Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 6 May 2011 21:31:40 +0000 Subject: [PATCH] tweaked errors for wget xiin --- inxi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inxi b/inxi index 69a785d..fcac434 100755 --- a/inxi +++ b/inxi @@ -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