From ba8bb58f3473a15b1f36d0715aad0b4a736b80cd Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 21 Apr 2015 17:23:35 +0530 Subject: [PATCH] minor update --- ee/cli/plugins/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 61f82f5e..913ec4ad 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -685,7 +685,7 @@ class EESiteUpdateController(CementBaseController): Log.info(self, "Password Unchanged.") return 0 - if stype == "html" and self.app.pargs.hhvm: + if stype == "html" and stype == oldsitetype and self.app.pargs.hhvm: Log.info(self, Log.FAIL + "Can not update HTML site to HHVM") return 1