commit | 05480411c5f6af50b634a93015be44a06cd5d0d1 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Oct 20 23:11:41 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Oct 20 23:11:41 2022 +0000 |
tree | 3f546630c11a3d944cf5fe5d594272856446acfa | |
parent | 56bca1f2d5602cbd86abae5c0a22e3f2b6317d74 [diff] | |
parent | e587589cdae3602587d5001e8d71071c236a82a7 [diff] |
Merge "Fix errorprone warnings that should be errors"
diff --git a/install/install.cpp b/install/install.cpp index 83f3cad..044856b 100644 --- a/install/install.cpp +++ b/install/install.cpp
@@ -551,7 +551,9 @@ } else { LOG(FATAL) << "Invalid status code " << status; } - PerformPowerwashIfRequired(zip, device); + if (package_is_ab) { + PerformPowerwashIfRequired(zip, device); + } return INSTALL_SUCCESS; }