From 67d5caed3771353f791e2c3b74bf63815ddd8c30 Mon Sep 17 00:00:00 2001 From: yangsong Date: Wed, 20 Feb 2019 17:45:58 +0800 Subject: [PATCH] EXECUTE in sync list will not invoke post sync scripts if the script itself is updated (#6001) --- perl-xCAT/xCAT/DSHCLI.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 0aacbb3c5..bbf811e93 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -5956,8 +5956,7 @@ sub run_rsync_postscripts #the $postsfile .post will be run if: # the is updated, or - # the .post file is updated - if ($ps eq $tmppostfile or $ps eq $tmppostfile.".post" ) { + if ($ps eq $tmppostfile ) { # build xdsh queue # build host and all scripts to execute