Handle nodes in dependency table without valid "cmd" attribute - Line #1121
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8d35b2aa8c
commit
29a5f378f5
@ -1118,10 +1118,10 @@ sub build_depend {
|
||||
if (defined($ent->{cmd})) { $cmd=$ent->{cmd}; }
|
||||
if (defined($ent->{msdelay})) { $delay=$ent->{msdelay}; }
|
||||
|
||||
if (!defined($dep)) {
|
||||
if (!defined($dep) || !grep(/^@$exargs[0]$/, split /,/, $cmd )) {
|
||||
$no_dp{$node} = 1;
|
||||
}
|
||||
elsif ( grep(/^@$exargs[0]$/, split /,/, $cmd )) {
|
||||
else {
|
||||
foreach (split /,/,$dep ) {
|
||||
$dp{$_}{$node} = $delay;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user