Add APPEND: support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
23075ccac5
commit
c2428d06dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user