forked from Mirrors/freeswitch
use difft glob for cores
This commit is contained in:
parent
a7cb382e12
commit
7166de4ab0
|
@ -41,7 +41,7 @@ else
|
|||
fi
|
||||
|
||||
|
||||
core=`ls -1t core.* | head -1 2> /dev/null`
|
||||
core=`ls -1t core* | head -1 2> /dev/null`
|
||||
|
||||
if [ -z "$core" ] ; then
|
||||
core=`ls -1 core 2> /dev/null`
|
||||
|
|
Loading…
Reference in New Issue