diff --git a/xCAT/postscripts/servicenode b/xCAT/postscripts/servicenode index fd35c9c6f..817711e0f 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -48,7 +48,6 @@ if ($^O =~ /^aix/i) { use lib "$::XCATROOT/lib/perl"; use strict; -use xCAT::Utils; # MAIN use IO::Socket; @@ -90,6 +89,7 @@ if ($ENV{UPDATESECURITY} && $ENV{UPDATESECURITY} eq "1") { } # copy the postscripts to /install/postscripts, if not mounted +require xCAT::Utils; my $mounted = xCAT::Utils->isMounted($installdir); if ($mounted == 0) { # not mounted if (&runcmd("mkdir -p $installdir/postscripts; cp -p -R /xcatpost/* $installdir/postscripts > /dev/null 2>&1") != 0 ) {