From e09573c149074fecb2a6e36266cc76aead9c4f43 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 22 Sep 2009 23:09:14 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14949 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- support-d/fscore_pb | 8 ++++++++ 1 file changed, 8 insertions(+) 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