mirror of https://github.com/crash-utility/crash
Fix for the "crash --osrelease" option for flattened format dumpfiles
in the unlikely event that the dumpfile header does not contain the VMCOREINFO note section from the original ELF /proc/vmcore. Without the patch, the command displays nothing instead of showing "unknown". (anderson@redhat.com)
This commit is contained in:
parent
94b8342c71
commit
8eb8fcc719
|
@ -389,5 +389,5 @@ flattened_format_get_osrelease(char *file)
|
|||
}
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
fclose(pipe);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue