mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-10 05:20:14 +00:00
EXECUTE in sync list will not invoke post sync scripts if the script itself is updated (#6001)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user