any size discrepancy is caused for bailing
parent
cca01dc357
commit
a87f75eee0
|
@ -84,7 +84,7 @@ sub zmMemAttach( $$ )
|
|||
if ( !defined($monitor->{MMapAddr}) )
|
||||
{
|
||||
my $mmap_file = $Config{ZM_PATH_MAP}."/zm.mmap.".$monitor->{Id};
|
||||
if ( -s $mmap_file < $size ) {
|
||||
if ( -s $mmap_file != $size ) {
|
||||
Error( sprintf( "Memory map file '%s' should have been %d but was instead %d", $mmap_file, $size, -s $mmap_file ) );
|
||||
return ( undef );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue