diff --git a/inxi b/inxi index f74af49..ca59658 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/usr/bin/env bash ######################################################################## #### Script Name: inxi -#### Version: 2.1.13 -#### Date: 2014-03-30 +#### Version: 2.1.14 +#### Date: 2014-03-31 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -1599,7 +1599,15 @@ debug_data_collector() systemctl list-units --type=target &> $debug_data_dir/systemctl-list-units-target.txt initctl list &> $debug_data_dir/initctl-list.txt sensors &> $debug_data_dir/sensors.txt - strings --version &> $debug_data_dir/strings.txt + if type -p strings &>/dev/null;then + touch $debug_data_dir/strings-present + else + touch $debug_data_dir/strings-absent + fi + # leaving this commented out to remind that some systems do not + # support strings --version, but will just simply hang at that command + # which you can duplicate by simply typing: strings then hitting enter, you will get hang. + # strings --version &> $debug_data_dir/strings.txt if type -p nvidia-smi &>/dev/null;then nvidia-smi -q &> $debug_data_dir/nvidia-smi-q.txt nvidia-smi -q -x &> $debug_data_dir/nvidia-smi-xq.txt diff --git a/inxi.changelog b/inxi.changelog index 95cdb62..cd2c62b 100755 --- a/inxi.changelog +++ b/inxi.changelog @@ -1,3 +1,23 @@ +===================================================================================== +Version: 2.1.14 +Patch Version: 00 +Script Date: 2014-03-31 +----------------------------------- +Changes: +----------------------------------- +new version/tarball. Tiny fix in debugger, it turns out that in some systems, the command: +strings --version used in the debugger results in a hang, which you can duplicate with: +strings +alone, without any argument or info, that will hang too, so I assume if the system doesn't +have the --version parameter, strings ignores that, and basically just does what it would do +with no option, hang. + +Thanks for user ypharis persistence in tracking down this issue. So far only appeared on slackware +based distros, but since the debugger should 'just work', removing the version test. + +----------------------------------- +-- Harald Hope - Mon, 31 Mar 2014 17:49:48 -0700 + ===================================================================================== Version: 2.1.13 Patch Version: 00