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