From 527ef2b4f8178f5f68c0e2cd55e1c69393e75e3d Mon Sep 17 00:00:00 2001 From: yangsbj Date: Tue, 27 Nov 2018 21:27:10 -0500 Subject: [PATCH] fix issue [automation] Installation failed on several OS because error in DSHCLI.pm #5840 --- perl-xCAT/xCAT/DSHCLI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index c69bcd564..1fd552528 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -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]) {