From 5476763673c6d61b1576c210a1749283cb3057fe Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Tue, 20 Oct 2015 17:07:57 -0400 Subject: [PATCH] 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 --- perl-xCAT/xCAT/DSHCLI.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index ac6eb1603..4bbe3633e 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -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;