2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-24 15:05:36 +00:00

fix issue [automation] Installation failed on several OS because error in DSHCLI.pm #5840

This commit is contained in:
yangsbj
2018-11-27 21:27:10 -05:00
parent 3b5fd8582e
commit 527ef2b4f8

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]) {