mirror of https://github.com/apache/cloudstack.git
Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
fix a typo
This commit is contained in:
parent
387f8afac6
commit
9312823c97
|
|
@ -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 ------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue