2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

EXECUTE in sync list will not invoke post sync scripts if the script itself is updated (#6001)

This commit is contained in:
yangsong 2019-02-20 17:45:58 +08:00 committed by Bin Xu
parent f27c62e954
commit 67d5caed37

View File

@ -5956,8 +5956,7 @@ sub run_rsync_postscripts
#the $postsfile <file>.post will be run if:
# the <file> is updated, or
# the <file>.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