Mount operation fails when there is no zip path
so trying mount is useless operation
Change-Id: I5f9a556b2a770b61a63cffb49cfd491a71670dd7
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
bf::remove(mount_path_);
}
+ if (!bf::exists(zip_path)) {
+ LOG(WARNING) << "zip path(" << zip_path << ") doesn't exist!";
+ return false;
+ }
+
const char* mount_path_str = mount_path_.string().c_str();
const char* zip_path_str = zip_path_.string().c_str();
const char* tzip_smack_rule = kTzipSmackRule;