From e0f3606d594dcba22ae79fd789f3171290979811 Mon Sep 17 00:00:00 2001 From: Pekka Pessi Date: Wed, 6 Aug 2008 21:28:48 +0300 Subject: [PATCH] run_test_nta: exit 77 if named refuses to start darcs-hash:20080806182848-db55f-9bfe924f0a7d15bcf5595b10aa9acdaa22af4deb.gz --- libsofia-sip-ua/nta/run_test_nta | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libsofia-sip-ua/nta/run_test_nta b/libsofia-sip-ua/nta/run_test_nta index 78865d32..cfff3f99 100755 --- a/libsofia-sip-ua/nta/run_test_nta +++ b/libsofia-sip-ua/nta/run_test_nta @@ -203,8 +203,10 @@ if test -r $pidfile ; then kill $(cat $pidfile) rm $pidfile $zonefile $resolvfile $namedfile 2>/dev/null exit $exit +else + echo "$0: cannot start named (check apparmor/selinux)" + exit 77 fi -exit $? else # not having BIND and portbind -- 2.21.0