fix defect 3403
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
870aec0318
commit
c8ffae5242
@ -1343,11 +1343,11 @@ sub updatenodesyncfiles
|
||||
push @$args,"-f" ;
|
||||
push @$args,$::fanout;
|
||||
}
|
||||
# if (defined($::USER)) { # -l contains sudo (TODO SUPPORT?)
|
||||
# push @$args,"--sudo" ;
|
||||
# push @$args,"-l" ;
|
||||
# push @$args,"$::USER" ;
|
||||
# }
|
||||
if (defined($::USER)) { # -l must sudo
|
||||
push @$args,"--sudo" ;
|
||||
push @$args,"-l" ;
|
||||
push @$args,"$::USER" ;
|
||||
}
|
||||
push @$args,"-F" ;
|
||||
push @$args,"$synclist" ;
|
||||
my $nodestring = join(',', @{$syncfile_node{$synclist}});
|
||||
|
Loading…
Reference in New Issue
Block a user