Add build Option for multi-user support
[platform/framework/web/wrt.git] / src / wrt-launcher / wrt-launcher.cpp
index b97a30b..a3f5efe 100644 (file)
@@ -417,6 +417,7 @@ int main(int argc, char* argv[])
             }
 
             if (strlen(applicationId) > 0) {
+#ifndef MULTI_USER_SUPPORT
                 // do setuid to '5000' uid to communicate
                 //with webapp using RT signal.
                 gid_t group_list[1];
@@ -431,7 +432,7 @@ int main(int argc, char* argv[])
                     printf("result: %s\n", "failed");
                     return -1;
                 }
-
+#endif
                 // set package
                 ret = service_set_package(serviceHandle, applicationId);
                 if (SERVICE_ERROR_NONE != ret) {