Skip to content

Commit 405ac29

Browse files
committed
./travis_exec_and_print_time.sh - get rid of noise
redirect output to /dev/null
1 parent da647a5 commit 405ac29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis_exec_and_print_time.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ echo "Testing for PID=$PID"
1717
#Sleep for X seconds and then test if the PID is still active
1818
# inefficient (only breaks in intervals of timer) but not too bad for this use case
1919
# also not safe from race conditions in general but fine here
20-
while ps | grep " $PID " | grep -v grep 2>&1
20+
while ps | grep " $PID " | grep -v grep > /dev/null 2>&1
2121
do
2222
sleep 180
2323
echo "PID=$PID still running at $SECONDS seconds"

0 commit comments

Comments
 (0)