]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove trailing newline from pid (RT #24388)
authorScott Mann <smann@isc.org>
Thu, 5 May 2011 22:56:55 +0000 (22:56 +0000)
committerScott Mann <smann@isc.org>
Thu, 5 May 2011 22:56:55 +0000 (22:56 +0000)
bin/tests/system/start.pl

index 724547713ac4e7287c49c5dd28fbc38dd25e6910..836bca156021554625c0b816fa3205d54cd2c994 100644 (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.21 2011/05/05 04:47:45 marka Exp $
+# $Id: start.pl,v 1.22 2011/05/05 22:56:55 smann Exp $
 
 # Framework for starting test servers.
 # Based on the type of server specified, check for port availability, remove
@@ -201,6 +201,7 @@ sub start_server {
 
        # start the server
        my $child = `$command`;
+       chomp( $child );
 
        # 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