Fix wrong filepath for kill/check command 16/56516/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 11 Jan 2016 00:13:26 +0000 (09:13 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 11 Jan 2016 00:13:26 +0000 (09:13 +0900)
Change-Id: Ibb7d696be7f504f0420b384e797b9c5c9b665a32
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgr-server.c

index d515099..0971777 100644 (file)
@@ -483,7 +483,7 @@ static void __make_pid_info_file(char *req_key, int pid)
        if(req_key == NULL)
                return;
 
-       snprintf(info_file, PATH_MAX, "/tmp/%s", req_key);
+       snprintf(info_file, PATH_MAX, "/tmp/pkgmgr/%s", req_key);
 
        DBG("info_path(%s)", info_file);
        file = fopen(info_file, "w");