From 03870c6ee293bf3baf887d7c3ba6b9281cb087c8 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Tue, 13 Jun 2017 19:06:02 +0900 Subject: [PATCH] Fix build warning Change-Id: I79f7ce319253fb5a9f46933585d5f7e92bbdde7f Signed-off-by: Junghyun Yeon --- src/unit_tests/smoke_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit_tests/smoke_utils.cc b/src/unit_tests/smoke_utils.cc index d041d21..4c41174 100644 --- a/src/unit_tests/smoke_utils.cc +++ b/src/unit_tests/smoke_utils.cc @@ -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); } -- 2.7.4