From 1a134cb4d236bd83536e67281a2fd3177fc4ea25 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Thu, 12 Jul 2018 08:24:10 +0000 Subject: [PATCH] 80 columns --- examples/test/test_baresshd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test/test_baresshd.py b/examples/test/test_baresshd.py index 7888e74..251b75d 100755 --- a/examples/test/test_baresshd.py +++ b/examples/test/test_baresshd.py @@ -59,7 +59,7 @@ class testBareSSHD( unittest.TestCase ): def tearDown( self ): # kill the ssh process - sh( "ps aux | grep 'ssh.*Banner' | awk '{ print $2 }' | xargs kill" ) + sh( "ps aux | grep ssh |grep Banner| awk '{ print $2 }' | xargs kill" ) cleanup() # remove public key pair sh( 'rm -rf /tmp/ssh' )