We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da647a5 commit 405ac29Copy full SHA for 405ac29
travis_exec_and_print_time.sh
@@ -17,7 +17,7 @@ echo "Testing for PID=$PID"
17
#Sleep for X seconds and then test if the PID is still active
18
# inefficient (only breaks in intervals of timer) but not too bad for this use case
19
# also not safe from race conditions in general but fine here
20
-while ps | grep " $PID " | grep -v grep 2>&1
+while ps | grep " $PID " | grep -v grep > /dev/null 2>&1
21
do
22
sleep 180
23
echo "PID=$PID still running at $SECONDS seconds"
0 commit comments