mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small fix in data collector
This commit is contained in:
parent
f61487f0b7
commit
e1a6e45740
6
inxi
6
inxi
|
@ -1682,12 +1682,12 @@ debug_data_collector()
|
||||||
if [[ -e $FILE_XORG_LOG ]];then
|
if [[ -e $FILE_XORG_LOG ]];then
|
||||||
cat $FILE_XORG_LOG &> $debug_data_dir/xorg-log-file.txt
|
cat $FILE_XORG_LOG &> $debug_data_dir/xorg-log-file.txt
|
||||||
else
|
else
|
||||||
touch $debug_data_dir/no-xorg-log-file
|
touch $debug_data_dir/xorg-log-file-absent
|
||||||
fi
|
fi
|
||||||
if [[ -e /etc/X11/xorg.conf ]];then
|
if [[ -e /etc/X11/xorg.conf ]];then
|
||||||
cat /etc/X11/xorg.conf &> $debug_data_dir/xorg-conf.txt
|
cat /etc/X11/xorg.conf &> $debug_data_dir/xorg-conf.txt
|
||||||
else
|
else
|
||||||
touch $debug_data_dir/no-xorg-conf-file
|
touch $debug_data_dir/xorg-conf-file-absent
|
||||||
fi
|
fi
|
||||||
if [[ -n $( ls /etc/X11/xorg.conf.d/ 2>/dev/null ) ]];then
|
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
|
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
|
cat /etc/X11/xorg.conf.d/$xorg_file &> $debug_data_dir/xorg-conf-d-$xorg_file.txt
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
touch $debug_data_dir/no-xorg-conf-d-files
|
touch $debug_data_dir/xorg-conf-d-files-absent
|
||||||
fi
|
fi
|
||||||
echo 'Collecting X, xprop, glxinfo, xrandr, xdpyinfo data...'
|
echo 'Collecting X, xprop, glxinfo, xrandr, xdpyinfo data...'
|
||||||
xprop -root &> $debug_data_dir/xprop_root.txt
|
xprop -root &> $debug_data_dir/xprop_root.txt
|
||||||
|
|
Loading…
Reference in a new issue