diff --git a/support-d/fscore_pb b/support-d/fscore_pb index 29ed136c6d..1fe6444136 100755 --- a/support-d/fscore_pb +++ b/support-d/fscore_pb @@ -1,5 +1,13 @@ core=`ls -rt core.*` +if [ -z "$core" ] ; then + core=`ls -rt core` +fi + +if [ -z "$core" ] ; then + core=`ls -rt freeswitch.core` +fi + if [ -z "$core" ] ; then echo "You must be in the current directory with a core file from FreeSWITCH!" exit 255