fix inverted logic
This commit is contained in:
parent
eaed8572f0
commit
ee4ecb9783
@ -200,13 +200,15 @@ int main( const int argc, const char * argv[] ) {
|
||||
|
||||
UUID uuid_loaded, uuid_orig;
|
||||
hsgr_input_stream.read((char *)&uuid_loaded, sizeof(UUID));
|
||||
if( !uuid_loaded.TestGraphUtil(uuid_orig) ) {
|
||||
SimpleLogger().Write(logWARNING) <<
|
||||
".hsgr was prepared with different build. "
|
||||
"Reprocess to get rid of this warning.";
|
||||
} else {
|
||||
if (uuid_loaded.TestGraphUtil(uuid_orig))
|
||||
{
|
||||
SimpleLogger().Write(logDEBUG) << "UUID checked out ok";
|
||||
}
|
||||
else
|
||||
{
|
||||
SimpleLogger().Write(logWARNING) << ".hsgr was prepared with different build. "
|
||||
"Reprocess to get rid of this warning.";
|
||||
}
|
||||
|
||||
// load checksum
|
||||
unsigned checksum = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user