1#!/usr/bin/env bash
2#
3# config: 2 20
4# @brief: Save the 'badPEL' file
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="Bad PEL file"
10file_name="/var/lib/phosphor-logging/extensions/pels/badPEL"
11
12if [ -e "$file_name" ]; then
13    add_copy_file "$file_name" "$desc"
14fi
15