diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index ff7a1a90b..d6e1ddee0 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -12860,7 +12860,7 @@ sub make_SN_resource } # end if $::NFSv4 # make sure we have the NIM networks defs etc we need for these nodes - if (&checkNIMnetworks($callback, \@nodelist, \%nethash, $Sname, $subreq) != + if (&checkNIMnetworks($callback, \@nodelist, \%nethash, $SNname, $subreq) != 0) { return 1;