Create previous error logs if missing (first run)
This commit is contained in:
parent
48764314f9
commit
5bd2b9a9c1
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ accounts_cull() {
|
||||||
| sort -u \
|
| sort -u \
|
||||||
> "$OTHER_ERRORS_LOG"
|
> "$OTHER_ERRORS_LOG"
|
||||||
|
|
||||||
|
test -f $PREV_ERRORS_LOG || touch $PREV_ERRORS_LOG
|
||||||
while read -r instance; do
|
while read -r instance; do
|
||||||
if grep -q "$instance" $PREV_ERRORS_LOG; then
|
if grep -q "$instance" $PREV_ERRORS_LOG; then
|
||||||
error=false
|
error=false
|
||||||
|
|
Loading…
Reference in a new issue