src/nid/opensafd.in |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Skip the check for the tipc-config tool when OPENSAF_MANAGE_TIPC is not set to
"yes" in nid.conf.

diff --git a/src/nid/opensafd.in b/src/nid/opensafd.in
--- a/src/nid/opensafd.in
+++ b/src/nid/opensafd.in
@@ -60,7 +60,7 @@ unload_tipc() {
 
 check_tipc() {
        # Exit if tipc-config is not installed
-       if [ ! -x /sbin/tipc-config ]; then
+       if [ "$MANAGE_TIPC" = "yes" ] && [ ! -x /sbin/tipc-config ]; then
                which tipc-config >/dev/null 2>&1
                if [ $? -eq 1 ] ; then
                        logger -s -t $osafprog "Can't find tipc-config in the 
PATH, exiting."

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to