Fix build warning 83/133783/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 13 Jun 2017 10:06:02 +0000 (19:06 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 19 Jun 2017 05:04:13 +0000 (05:04 +0000)
Change-Id: I79f7ce319253fb5a9f46933585d5f7e92bbdde7f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/unit_tests/smoke_utils.cc

index d041d219d0819e0151daf1e6e717f3c973e22333..4c411741466b6cf5b1f93ee7cdaa2879c24f26af 100644 (file)
@@ -722,7 +722,7 @@ void UninstallAllAppsInDirectory(bf::path dir, bool is_readonly) {
 }
 
 void UninstallAllSmokeApps(ci::RequestMode request_mode) {
-  if (getuid() == 0 & request_mode == ci::RequestMode::GLOBAL) {
+  if (getuid() == 0 && request_mode == ci::RequestMode::GLOBAL) {
     bf::path root_path = kPreloadApps;
     UninstallAllAppsInDirectory(root_path, true);
   }