"grep -q" is not portable to non-GNU grep.  Replace with ">/dev/null".

Signed-off-by: Gert Doering <g...@greenie.muc.de>
---
 tests/t_client.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in
index bde07a6..2b9bacf 100755
--- a/tests/t_client.sh.in
+++ b/tests/t_client.sh.in
@@ -308,7 +308,7 @@ do
     while [ $ovpn_init_check -gt 0 ];
     do
        sleep 3  # Wait for OpenVPN to initialize and have had time to write 
the pid file
-       grep -q "Initialization Sequence Completed" $LOGDIR/$SUF:openvpn.log
+       grep "Initialization Sequence Completed" $LOGDIR/$SUF:openvpn.log 
>/dev/null
        if [ $? -eq 0 ]; then
            ovpn_init_check=0
            ovpn_init_success=1
-- 
1.5.6.5


------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to