From c2428d06dcca8e7ba9208101c4fb834f0dc23c88 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 14 Jun 2012 17:27:41 +0000 Subject: [PATCH] Add APPEND: support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/RSYNC.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/RSYNC.pm b/perl-xCAT/xCAT/RSYNC.pm index 4053ff139..79b6b44c5 100644 --- a/perl-xCAT/xCAT/RSYNC.pm +++ b/perl-xCAT/xCAT/RSYNC.pm @@ -113,9 +113,10 @@ sub remote_copy_command { $sync_opt = '--rsync-path /usr/bin/rsync '; } - # if only syncing the service node or no postscripts then do not + # if only syncing the service node or + # (no postscripts and no append lines) then do not # get update file notification - if (($::SYNCSN == 1) || (!(defined @::postscripts))) { + if (($::SYNCSN == 1) || ((!(defined @::postscripts) && (!(defined @::appendlines))))) { $sync_opt .= '-Lprogtz '; } else { $sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update