提交 0bafa3b1 authored 作者: Michael Jerris's avatar Michael Jerris

Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last@nokia.com>

  * run_test_nta: fixed bashism with exec
  Ignore-this: 6d034eb8fd66f6a903e3219589f62eef



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12738 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 22dae2b9
Tue Mar 24 10:36:05 CDT 2009
Tue Mar 24 10:36:48 CDT 2009
......@@ -188,7 +188,7 @@ EOF
# -g is also very nice option for named
named -f -c $namedfile &
pid=$!
while ! test -r $pidfile && kill -0 $!
while ! test -r $pidfile && kill -0 $! 2>/dev/null
do
sleep 1
done
......@@ -205,12 +205,10 @@ if test -r $pidfile ; then
exit $exit
else
echo "$0: cannot start named (check apparmor/selinux)"
exec ipv6=$ipv6 $VALGRIND ./test_nta "$@"
ipv6=$ipv6 $VALGRIND exec ./test_nta "$@"
fi
else # not having BIND and portbind
ipv6=$ipv6 $VALGRIND ./test_nta "$@"
exit $?
ipv6=$ipv6 $VALGRIND exec ./test_nta "$@"
fi
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论