From: Junghyun Yeon Date: Wed, 17 Aug 2016 10:50:51 +0000 (+0900) Subject: Fix to set g_target_uid properly X-Git-Tag: submit/tizen/20160818.060816^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5cee545cf70ca79123e997f964fa59526d739546;p=platform%2Fcore%2Fappfw%2Fslp-pkgmgr.git Fix to set g_target_uid properly Change-Id: I06ab3e4981f47bfed67f3b971cfd9dbd2b12619c Signed-off-by: Junghyun Yeon --- diff --git a/installer/pkgmgr_installer.c b/installer/pkgmgr_installer.c index 9a13372..5c9be31 100644 --- a/installer/pkgmgr_installer.c +++ b/installer/pkgmgr_installer.c @@ -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;