Fix to set g_target_uid properly 23/84223/2 accepted/tizen/common/20160818.144514 accepted/tizen/ivi/20160819.063351 accepted/tizen/mobile/20160819.063221 accepted/tizen/tv/20160819.063335 accepted/tizen/wearable/20160819.063315 submit/tizen/20160818.060816
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 17 Aug 2016 10:50:51 +0000 (19:50 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 18 Aug 2016 04:20:19 +0000 (13:20 +0900)
Change-Id: I06ab3e4981f47bfed67f3b971cfd9dbd2b12619c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
installer/pkgmgr_installer.c

index 9a13372666d3fd8a4d96a46b1bb3f9a3fc26a148..5c9be31b3e01e365c536d63c256f5f016403048d 100644 (file)
@@ -426,6 +426,7 @@ pkgmgr_installer_receive_request(pkgmgr_installer *pi,
                        break;
 
                case 'u': /* uid */
+                       g_target_uid = (uid_t)atoi(optarg);
                        pi->target_uid = (uid_t)atoi(optarg);
                        break;