Bug 12565 - no check for correctness of the options given during cloud-setup-database steps

fix a typo
This commit is contained in:
frank 2011-12-15 10:59:54 -08:00
parent 387f8afac6
commit 9312823c97
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ for full help
self.info("Mysql server port:%s"%self.port, True)
def validateParameters():
if self.encryptiontype != 'file' or self.encryptiontype != 'web':
if self.encryptiontype != 'file' and self.encryptiontype != 'web':
self.errorAndExit('Wrong encryption type %s, --encrypt-type can only be "file" or "web'%self.encryptiontype)
#---------------------- option parsing and command line checks ------------------------