diff --git a/perl-xCAT/xCAT/RSYNC.pm b/perl-xCAT/xCAT/RSYNC.pm index b3779c03e..52b0725f4 100644 --- a/perl-xCAT/xCAT/RSYNC.pm +++ b/perl-xCAT/xCAT/RSYNC.pm @@ -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 diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index d8835a08f..488571e2a 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # IBM(c) 2009 EPL license http://www.eclipse.org/legal/epl-v10.html ##################################################### #