mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
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
This commit is contained in:
parent
22dae2b9fa
commit
0bafa3b1cd
@ -1 +1 @@
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user