sysdump: ignore /sys/kernel/security/apparmor/revision to avoid hanging
[grml-hwinfo.git] / sysdump
diff --git a/sysdump b/sysdump
index 177424c..e83738b 100755 (executable)
--- a/sysdump
+++ b/sysdump
@@ -66,6 +66,10 @@ sub dump_value($$)
                print("ignoring file $file\n");
                return 0;
        }
+       if ($file =~ "/sys/kernel/security/apparmor/revision") {
+               print("ignoring file $file\n");
+               return 0;
+       }
 
        if (!open (FILE, "<$file")) {
                print STDERR "can't open $file: '$!'\n";