diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms
index ff66d45..20045a6 100755
--- a/eeprom/decode-dimms
+++ b/eeprom/decode-dimms
@@ -1707,20 +1707,6 @@ EOF
push @dimm, { eeprom => basename($_), file => $_ } if $use_hexdump;
}
-if ($opt_html && !$opt_bodyonly) {
- print "\n",
- "
\n",
- "\t\n",
- "\tPC DIMM Serial Presence Detect Tester/Decoder Output\n",
- "\n";
-}
-
-printc("decode-dimms version $revision");
-printh('Memory Serial Presence Detect Decoder',
-'By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
-Jean Delvare, Trent Piepho and others');
-
-
# From a sysfs device path and an attribute name, return the attribute
# value, or undef (stolen from sensors-detect)
sub sysfs_device_attribute
@@ -1816,6 +1802,20 @@ if (!$opt_igncheck) {
}
}
+
+if ($opt_html && !$opt_bodyonly) {
+ print "\n",
+ "\n",
+ "\t\n",
+ "\tPC DIMM Serial Presence Detect Tester/Decoder Output\n",
+ "\n";
+}
+
+printc("decode-dimms version $revision");
+printh('Memory Serial Presence Detect Decoder',
+'By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
+Jean Delvare, Trent Piepho and others');
+
# Process the valid entries
for $current (0 .. $#dimm) {
my @bytes = @{$dimm[$current]->{bytes}};