Signed-off-by: Manuel Franceschini <[email protected]>
---
 lib/backend.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/backend.py b/lib/backend.py
index 2e9e34a..c5a9a09 100644
--- a/lib/backend.py
+++ b/lib/backend.py
@@ -306,7 +306,10 @@ def StartMaster(start_daemons, no_voting):
         utils.RunCmd(["arping", "-q", "-U", "-c 3", "-I", master_netdev, "-s",
                       master_ip, master_ip])
       elif ipcls == netutils.IP6Address:
-        utils.RunCmd(["ndisc6", "-q", "-r 3", master_ip, master_netdev])
+        try:
+          utils.RunCmd(["ndisc6", "-q", "-r 3", master_ip, master_netdev])
+        except errors.OpExecError:
+          logging.warning("Can't execute ndisc6, please install if missing")
 
   if err_msgs:
     _Fail("; ".join(err_msgs))
-- 
1.7.1

Reply via email to