Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
d8291e5e6dd3efd53500bde85ed6aa1d1f974904
/
.
/
tools
/
dreport.d
/
ibm.d
/
plugins.d
/
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