mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 02:00:24 +00:00
Removed the code that strips the .post off the end of the files.
The file list being returned from xdcp contains .post. For EXECUTE files, we never match the postscript and so it never gets executed
This commit is contained in:
@@ -5685,10 +5685,6 @@ sub run_rsync_postscripts
|
||||
# return from rsync is tmp/file1 not /tmp/file1
|
||||
substr($tmppostfile,0,1)="";
|
||||
|
||||
# now remove .post from the postscript file for the compare
|
||||
# with the returned file name
|
||||
my($tp,$post) = split(/\.post/,$tmppostfile);
|
||||
$tmppostfile = $tp;
|
||||
foreach my $line (@rsync_output) {
|
||||
my($hostname,$ps) = split(/: /, $line);
|
||||
chomp $ps;
|
||||
|
Reference in New Issue
Block a user