From 788885c6112c0a4f6c287de12b8bc7d815b233dc Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 23 Sep 2015 14:00:09 -0700 Subject: [PATCH] build(travis): make sauce connect process query a bit more specific --- lib/saucelabs/teardown_tunnel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/saucelabs/teardown_tunnel.sh b/lib/saucelabs/teardown_tunnel.sh index 72155b9cf..91b918a48 100755 --- a/lib/saucelabs/teardown_tunnel.sh +++ b/lib/saucelabs/teardown_tunnel.sh @@ -7,7 +7,7 @@ echo "Shutting down Sauce Connect tunnel" killall sc -while [[ -n `ps -ef | grep "bin/sc" | grep -v "grep"` ]]; do +while [[ -n `ps -ef | grep "sauce-connect-" | grep -v "grep"` ]]; do printf "." sleep .5 done