Minor patch to return False if --is-dba returns None

This commit is contained in:
Miroslav Stampar 2013-02-12 13:04:42 +01:00
parent c67b39d14d
commit c9447fbbe7

View File

@ -80,7 +80,7 @@ class Users:
query = queries[Backend.getIdentifiedDbms()].is_dba.query
query = agent.forgeCaseStatement(query)
kb.data.isDba = inject.checkBooleanExpression(query)
kb.data.isDba = inject.checkBooleanExpression(query) or False
return kb.data.isDba