diff --git a/perl-xCAT/xCAT/PPCmac.pm b/perl-xCAT/xCAT/PPCmac.pm index 654525d44..aeefca889 100644 --- a/perl-xCAT/xCAT/PPCmac.pm +++ b/perl-xCAT/xCAT/PPCmac.pm @@ -90,6 +90,9 @@ sub parse_args { } if ( exists($opt{C}) ) { + if ( scalar(@$node) > 1 ) { + return( [RC_ERROR,"Option '-C' doesn't work with noderange\n"] ); + } push @network, $_; } else { # get, check the node IP