mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
Merge pull request #1165 from daniceexi/syncfile_issue
issue 1158: fix the syncfile issue for ubuntu 16.04
This commit is contained in:
commit
fba0eb44c4
@ -129,7 +129,7 @@ sub remote_copy_command
|
||||
# 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)) && (!(defined @::appendlines)) && (!(defined @::mergelines)))) {
|
||||
if (($::SYNCSN == 1) || ((!(@::postscripts)) && (!(@::appendlines)) && (!(@::mergelines)))) {
|
||||
$sync_opt .= '-Lprogtz ';
|
||||
} else {
|
||||
$sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify of update
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# IBM(c) 2009 EPL license http://www.eclipse.org/legal/epl-v10.html
|
||||
#####################################################
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user