diff --git a/support-d/fscore_pb b/support-d/fscore_pb index d419a7a1e0..1dc0524d28 100755 --- a/support-d/fscore_pb +++ b/support-d/fscore_pb @@ -139,9 +139,9 @@ rm -fr $tmpdir mkdir -p $tmpdir cd $tmpdir -wget --output-file=/dev/null --http-user=pastebin --http-password=freeswitch http://pastebin.freeswitch.org --post-file=$post_file +wget --output-file=/dev/null --output-document=/tmp/fscore_pb.tmp/pb_out --http-user=pastebin --http-password=freeswitch http://pastebin.freeswitch.org --post-file=$post_file -pb=`cat /tmp/fscore_pb.tmp/index.html | grep parent_pid | awk -F \" '{print $6}'` +pb=`cat /tmp/fscore_pb.tmp/pb_out | grep parent_pid | awk -F \" '{print $6}'` mv $post_file $tmpdir echo "Finished."