call sync() before installer termination. 76/80276/3 accepted/tizen/common/20160722.135218 accepted/tizen/ivi/20160724.042103 accepted/tizen/mobile/20160724.041953 accepted/tizen/tv/20160724.042035 accepted/tizen/wearable/20160724.042049 submit/tizen/20160722.091303
authorjongmyeongko <jongmyeong.ko@samsung.com>
Fri, 15 Jul 2016 12:31:28 +0000 (21:31 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 22 Jul 2016 11:15:01 +0000 (04:15 -0700)
Change-Id: Icbd4997bfa679a80b9260884a916f73dfe678dbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/common/app_installer.cc

index 72173e4..c03c2c5 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <cstdio>
 #include <fstream>
+#include <unistd.h>
 
 #include "common/app_installer.h"
 #include "common/installer_context.h"
@@ -115,6 +116,7 @@ AppInstaller::Result AppInstaller::Run() {
       }
     }
   }
+  sync();
 
   if (pi_) {
     // send START if pkgid was not parsed