Browse Source

postdetails was not generating a new file. Removing any existing file

pull/1936/head
Daniel Gibbs 7 years ago
parent
commit
090fd1df3b
  1. 5
      lgsm/functions/command_postdetails.sh

5
lgsm/functions/command_postdetails.sh

@ -42,6 +42,11 @@ fn_bad_postdetailslog() {
core_exit.sh
}
# Remove any existing postdetails.log file
if [ -f "${postdetailslog}" ]; then
rm -f "${postdetailslog}"
fi
# Rather than a one-pass sed parser, default to using a temporary directory
if [ -n "${alertflag}" ]; then
postdetailslog="${alertlog}"

Loading…
Cancel
Save