Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
7d7e00146d89a28b7205ba2ef2a942b8a9208d78
/
.
/
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