2
0
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:
zet809 2016-05-20 14:41:07 +08:00
commit fba0eb44c4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# IBM(c) 2009 EPL license http://www.eclipse.org/legal/epl-v10.html
#####################################################
#