Support lscpu, lsblk and dmsetup ls --tree
[grml-hwinfo.git] / sysdump
diff --git a/sysdump b/sysdump
index 1fd3e0e..17c2b9f 100755 (executable)
--- a/sysdump
+++ b/sysdump
@@ -62,7 +62,7 @@ sub dump_value($$)
        my $level = shift;
        my $file = shift;
 
-       open (FILE, "<$file") || die "can't open $file: $!";
+       open (FILE, "<$file") || print "can't open $file: $!";
 
        my $value;
        {       local $/;