2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 10:10:22 +00:00

Merge pull request #5841 from immarvin/onissue

fix issue [automation] Installation failed on several OS because error in DSHCLI.pm #5840
This commit is contained in:
xuweibj
2018-11-28 14:33:25 +08:00
committed by GitHub

View File

@@ -6314,7 +6314,7 @@ sub run_always_rsync_postscripts
# build xdsh queue
# build host and all scripts to execute
# EXECUTEALWAYS will only execute the syncfile in the syncfile list
foreach my $key (keys $$options{'destDir_srcFile'}{$host}) {
foreach my $key (keys %{$$options{'destDir_srcFile'}{$host}}) {
foreach my $key1 (keys %{ $$options{'destDir_srcFile'}{$host}{$key} }) {
my $index = 0;
while (my $src_file = $$options{'destDir_srcFile'}{$host}{$key}{$key1}->[$index]) {