diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 9bf1702cd..ccecfc6bd 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -991,7 +991,7 @@ sub dispatch_request { @prexcatdests=($_->{'_xcatdest'}); } foreach (@prexcatdests) { - if (/,/) { + if ($_ and /,/) { push @xcatdests,split /,/,$_; } else { push @xcatdests,$_;