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

index 59d74a26032f515acfe949477faae55f6c2fde53..082f1c0f2d2d9a04a57dc089326fa35bf8357d3a 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.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