Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
openpower-debug-collector
/
d48f8e345d2f3bad94798e5f604575e32cc03930
/
.
/
dump
/
tools
/
bmcdump
/
plugins
/
badpel
blob: a1de332100b7324228c54f4b565a0a505fbdbd45 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
#
# config: 2 20
# @brief: Save the 'badPEL' file
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"Bad PEL file"
file_name
=
"/var/lib/phosphor-logging/extensions/pels/badPEL"
if
[
-
e
"$file_name"
];
then
add_copy_file
"$file_name"
"$desc"
fi