From 47353462b73138791ce6ed25678b9ca9ea21a3ac Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 23 Aug 2011 16:25:28 +0000 Subject: [PATCH] fix defect 3396951 PMR 67326 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 10 +++++----- perl-xCAT/xCAT/RSYNC.pm | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index f9a0c1f18..639b37858 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -4257,8 +4257,8 @@ sub parse_and_run_dcp /.../file1 /..../filex -> /...../dir1 rsync command format - /usr/bin/rsync -Lprotz /etc/services $pathtoimage/etc/services - /usr/bin/rsync -Lprotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa + /usr/bin/rsync -Lprgotz /etc/services $pathtoimage/etc/services + /usr/bin/rsync -Lprgotz /tmp/lissa/file1 /tmp/lissa/file $pathtoimage/tmp/lissa Arguments: Input: @@ -4344,16 +4344,16 @@ sub rsync_to_image { if (-e ("/usr/bin/rsync")) { - $synccmd = "/usr/bin/rsync -Lprotz "; + $synccmd = "/usr/bin/rsync -Lprogtz "; } else { - $synccmd = "/usr/local/bin/rsync -Lprotz "; + $synccmd = "/usr/local/bin/rsync -Lprogtz "; } } else # linux { - $synccmd = "/usr/bin/rsync -Lprotz "; + $synccmd = "/usr/bin/rsync -Lprogtz "; } my $syncopt = ""; foreach my $srcfile (@srcfiles) diff --git a/perl-xCAT/xCAT/RSYNC.pm b/perl-xCAT/xCAT/RSYNC.pm index d48cba6bc..4053ff139 100644 --- a/perl-xCAT/xCAT/RSYNC.pm +++ b/perl-xCAT/xCAT/RSYNC.pm @@ -116,9 +116,9 @@ sub remote_copy_command # if only syncing the service node or no postscripts then do not # get update file notification if (($::SYNCSN == 1) || (!(defined @::postscripts))) { - $sync_opt .= '-Lprotz '; + $sync_opt .= '-Lprogtz '; } else { - $sync_opt .= '-Liprotz --out-format=%f%L '; # add notify of update + $sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update } $sync_opt .= $$config{'options'}; if ($::SYNCSN == 1)