]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Wed Aug 6 14:28:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Tue, 12 Aug 2008 17:05:41 +0000 (17:05 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 12 Aug 2008 17:05:41 +0000 (17:05 +0000)
  * run_test_nta: exit 77 if named refuses to start

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9273 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/libsofia-sip-ua/nta/run_test_nta

index 78865d32d19241f6bcbc5d257ed5209a347ec357..cfff3f99a3f63aa295764037390ae1cca1251630 100644 (file)
@@ -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