mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-13 19:00:00 -04:00
Fix t_client runs on OpenSolaris
"grep -q" is not portable to non-GNU grep. Replace with ">/dev/null". Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: David Sommerseth <davids@openvpn.net> Message-Id: 20160920091914.37585-1-gert@greenie.muc.de URL: http://www.mail-archive.com/search?l=mid&q=20160920091914.37585-1-gert@greenie.muc.de Signed-off-by: David Sommerseth <davids@openvpn.net>
This commit is contained in:
parent
6cd7e08d89
commit
38f98fdccd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue