remove trailing newline from pid (RT #24388)

This commit is contained in:
Scott Mann
2011-05-05 23:26:26 +00:00
parent d3df01045b
commit 18daaa26b4

View File

@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: start.pl,v 1.5.18.7 2011/05/05 04:56:25 marka Exp $
# $Id: start.pl,v 1.5.18.8 2011/05/05 23:26:26 smann Exp $
# Framework for starting test servers.
# Based on the type of server specified, check for port availability, remove
@@ -175,6 +175,7 @@ sub start_server {
# start the server
my $child = `$command`;
$child =~ s/\s+$//g;
# wait up to 14 seconds for the server to start and to write the
# pid file otherwise kill this server and any others that have