summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinxi8
-rw-r--r--inxi.changelog14
2 files changed, 19 insertions, 3 deletions
diff --git a/inxi b/inxi
index 5c9e4c7..a0312b3 100755
--- a/inxi
+++ b/inxi
@@ -31,8 +31,8 @@ use POSIX qw(uname strftime ttyname);
## INXI INFO ##
my $self_name='inxi';
-my $self_version='3.0.11';
-my $self_date='2018-06-04';
+my $self_version='3.0.12';
+my $self_date='2018-06-05';
my $self_patch='00';
## END INXI INFO ##
@@ -1720,6 +1720,7 @@ sub copy_files {
$name = $_;
$name =~ s/^\///;
$name =~ s/\//~/g;
+ # print "$name\n" if $type eq 'proc';
$name = "$directory/$working$name";
$good = $name . '.txt';
$absent = $name . '-absent';
@@ -1916,8 +1917,9 @@ sub wanted {
return if $File::Find::name =~ /^\/proc\/[0-9]+\//;
return if $File::Find::name =~ /^\/proc\/bus\/pci\//;
return if $File::Find::name =~ /^\/proc\/irq\//;
+ # these choke on sudo/root: kmsg kcore kpage and we don't want keys or kallsyms
+ return if $File::Find::name =~ /^\/proc\/k/;
return if $File::Find::name =~ /(\/mb_groups|debug)$/;
- return if $File::Find::name eq '/proc/kallsyms' || $File::Find::name eq '/proc/keys';
}
# print $File::Find::name . "\n";
push (@content, $File::Find::name);
diff --git a/inxi.changelog b/inxi.changelog
index a953a24..3b5a907 100644
--- a/inxi.changelog
+++ b/inxi.changelog
@@ -1,4 +1,18 @@
=====================================================================================
+Version: 3.0.12
+Patch Version: 00
+Script Date: 2018-06-05
+-----------------------------------
+Changes:
+-----------------------------------
+New version
+
+Bug fix, debugger when run as root hangs on proc traverse.
+
+-----------------------------------
+-- Harald Hope - Tue, 05 Jun 2018 01:18:18 -0700
+
+=====================================================================================
Version: 3.0.11
Patch Version: 00
Script Date: 2018-06-04