From 9a4e78ed5aee2efa104a0e1533b9642c9953174b Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Fri, 9 Dec 2016 01:07:41 -0500 Subject: [PATCH] Modify issue 2299: xcatprobe xcatmn do not clear the /etc/hosts if no usefull cn node to check dhcp in the environment --- xCAT-probe/subcmds/xcatmn | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-probe/subcmds/xcatmn b/xCAT-probe/subcmds/xcatmn index 37d7ac33f..199262d19 100755 --- a/xCAT-probe/subcmds/xcatmn +++ b/xCAT-probe/subcmds/xcatmn @@ -156,6 +156,7 @@ sub do_main_job { $rc |= $rst; } + cleanup(); return $rc; }