small fix in data collector

This commit is contained in:
inxi-svn 2014-03-26 19:57:39 +00:00
parent f61487f0b7
commit e1a6e45740

6
inxi
View file

@ -1682,12 +1682,12 @@ debug_data_collector()
if [[ -e $FILE_XORG_LOG ]];then
cat $FILE_XORG_LOG &> $debug_data_dir/xorg-log-file.txt
else
touch $debug_data_dir/no-xorg-log-file
touch $debug_data_dir/xorg-log-file-absent
fi
if [[ -e /etc/X11/xorg.conf ]];then
cat /etc/X11/xorg.conf &> $debug_data_dir/xorg-conf.txt
else
touch $debug_data_dir/no-xorg-conf-file
touch $debug_data_dir/xorg-conf-file-absent
fi
if [[ -n $( ls /etc/X11/xorg.conf.d/ 2>/dev/null ) ]];then
ls /etc/X11/xorg.conf.d &> $debug_data_dir/ls-etc-x11-xorg-conf-d.txt
@ -1697,7 +1697,7 @@ debug_data_collector()
cat /etc/X11/xorg.conf.d/$xorg_file &> $debug_data_dir/xorg-conf-d-$xorg_file.txt
done
else
touch $debug_data_dir/no-xorg-conf-d-files
touch $debug_data_dir/xorg-conf-d-files-absent
fi
echo 'Collecting X, xprop, glxinfo, xrandr, xdpyinfo data...'
xprop -root &> $debug_data_dir/xprop_root.txt