projects
/
grml-hwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Read /proc/acpi/info only if the file exists, drop calls to acpi_available
[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 $/;