Fix update failure requested by admin user 46/105346/1
authorSangyoon Jang <s89.jang@samsung.com>
Fri, 16 Dec 2016 08:40:42 +0000 (17:40 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Fri, 16 Dec 2016 08:40:42 +0000 (17:40 +0900)
Change-Id: Ibd160635361f8d62cf546b300efe924e83173aa5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/common/step/configuration/step_configure.cc

index 2ae2c79..404a832 100644 (file)
@@ -200,8 +200,10 @@ Step::Status StepConfigure::precheck() {
 
 #ifdef ADMIN_USER_GLOBAL_INSTALLATION_ONLY
   // Set target uid as tizenglobalapp if admin user's request
-  if (IsAdminUser(uid))
+  if (IsAdminUser(uid)) {
     context_->uid.set(kGlobalUserUid);
+    SetupRequestMode(kGlobalUserUid);
+  }
 #endif
 
   return Status::OK;