diff --git a/scripts/freeswitch-gcore b/scripts/freeswitch-gcore index fe28b8685a..fdfa00a6b1 100644 --- a/scripts/freeswitch-gcore +++ b/scripts/freeswitch-gcore @@ -1,5 +1,5 @@ #!/bin/sh -fspid=$(cat /usr/local/freeswitch/log/freeswitch.pid) +fspid=$(cat /usr/local/freeswitch/run/freeswitch.pid) gcore -o /usr/local/freeswitch/log/freeswitch.gcore $fspid && \ gdb /usr/local/freeswitch/bin/freeswitch \ -c /usr/local/freeswitch/log/freeswitch.gcore.$fspid \