Fix problem where 'copyIfNewer' was actually 'copyIfOlder'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-06-22 15:16:34 +00:00
parent f35debd190
commit 4fed39c1e5

View File

@ -4841,7 +4841,7 @@ sub cpNetbootImages {
sub copyIfNewer {
my $source = shift;
my $dest = shift;
if (! -e $dest or -C $source > -C $dest) {
if (! -e $dest or -C $source < -C $dest) {
return copy($source,$dest);
}
return 1;