From c983aac51a4e1cfbba126ff12117c343ac3c4f32 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 16 Nov 2010 13:31:38 +0000 Subject: [PATCH] fix defect 3109994, should have checked is Service Node not is MN since xcatconfig sets up the /etc/xCATMN file during install and would quit. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index ed4d16b3d..659abf002 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -42,7 +42,7 @@ $::INSTALLDIR = "/install"; # Default TFTP dir location $::TFTPDIR = "/tftpboot"; -if (!(xCAT::Utils->isMN())) { # if not on Management Node +if ((xCAT::Utils->isServiceNode())) { # if not on Management Node xCAT::MsgUtils->message( 'E', "xcatconfig should only be run on the Management Node."