This outputs a bunch of garbage but according to the comments don't
absolutely need this wait anyway. So redirect stderr for the bash
wait to /dev/null.

Signed-off-by: Matt Helsley <matth...@us.ibm.com>
---
 counterloop/cloop_serial.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/counterloop/cloop_serial.sh b/counterloop/cloop_serial.sh
index cc94db4..dcd11d3 100644
--- a/counterloop/cloop_serial.sh
+++ b/counterloop/cloop_serial.sh
@@ -52,7 +52,7 @@ for cnt in `seq 1 $NUMLOOPS`; do
        echo checkpoint returned $?
        kill -9 $pid
        thaw
-       wait $pid
+       wait $pid 2> /dev/null
        wait_on_crcounter
        echo BAD > $dir/counter_out
        $RESTART --pids < $dir/o.$cnt &
-- 
1.6.3.3

_______________________________________________
Containers mailing list
contain...@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to