From 25b3b738c0a25f77e44bcaea640afcf3e3540355 Mon Sep 17 00:00:00 2001
From: Pawel Sikorski
Date: Wed, 15 Jul 2015 10:44:16 +0200
Subject: [PATCH] small coding style fix
Change-Id: I77d5c37b7003c7d804c09fedacc766ba621fdb7a
---
src/wgt/step/step_rds_modify.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/wgt/step/step_rds_modify.cc b/src/wgt/step/step_rds_modify.cc
index 673f0be..73be210 100644
--- a/src/wgt/step/step_rds_modify.cc
+++ b/src/wgt/step/step_rds_modify.cc
@@ -35,7 +35,7 @@ common_installer::Step::Status StepRDSModify::precheck() {
LOG(ERROR) << "pkgid is not set";
return common_installer::Step::Status::ERROR;
}
- if(!context_->manifest_data.get()) {
+ if (!context_->manifest_data.get()) {
LOG(ERROR) << "no manifest info available";
return common_installer::Step::Status::ERROR;
}
@@ -89,7 +89,8 @@ bool StepRDSModify::AddFiles(bf::path unzip_path, bf::path install_path) {
}
bf::path temp_install_path(install_path / file);
if (bf::is_directory(temp_install_path)) {
- if (!bf::exists(temp_install_path) && (!cu::CreateDir(temp_install_path))) {
+ if (!bf::exists(temp_install_path) &&
+ (!cu::CreateDir(temp_install_path))) {
LOG(ERROR) << "unable to create dir for temp backup data";
return false;
}
--
2.7.4