Skip to content

Commit

Permalink
core detection on SIGASERT by mtr
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan authored and vladbogo committed Sep 28, 2023
1 parent c0d0911 commit 474a262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def createVar():
return """
if [ -d mysql-test/var ]; then
extra=
if compgen -G ./mysql-test/var/*/log/*/mysqld.*/data/core* > /dev/null; then
if compgen -G ./mysql-test/var/*/log/*/mysqld.*/data/core* > /dev/null ||
compgen -G ./mysql-test/var/log/*/core* > /dev/null; then
if [ -f sql/mysqld ]; then extra="$extra sql/mysqld"; fi
if [ -f sql/mariadbd ]; then extra="$extra sql/mariadbd"; fi
fi
Expand Down

0 comments on commit 474a262

Please sign in to comment.