diff --git a/scripts/sauce/sauce_connect_teardown.sh b/scripts/sauce/sauce_connect_teardown.sh index 72155b9cfd..91b918a485 100755 --- a/scripts/sauce/sauce_connect_teardown.sh +++ b/scripts/sauce/sauce_connect_teardown.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