diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index afcf20f21..61c4376d8 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -1105,7 +1105,7 @@ sub setobjdefs foreach my $i (sort @currentList) { chomp $i; - if (!grep(/^$i$/, @minusList)) + if (!grep(/^\Q$i\E$/, @minusList)) { # set new list for node