Skip to content

Commit

Permalink
Flashing output: Avoid error strings
Browse files Browse the repository at this point in the history
Signed-off-by: sunilpaulmathew <[email protected]>
  • Loading branch information
sunilpaulmathew committed Dec 1, 2020
1 parent 1e7c284 commit d303bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void manualFlash(Context context) {
FLASH_FOLDER = Utils.getInternalDataStorage() + "/flash",
CLEANING_COMMAND = "rm -r '" + FLASH_FOLDER + "'",
mZipPath = context.getCacheDir() + "/flash.zip";
String flashingCommand = "BOOTMODE=true sh " + mScriptPath + " dummy 1 " + mZipPath + " && echo success";
String flashingCommand = "BOOTMODE=true sh " + mScriptPath + " dummy 1 " + mZipPath + " 2>/dev/null && echo success";
if (Utils.existFile(FLASH_FOLDER)) {
RootUtils.runCommand(CLEANING_COMMAND);
} else {
Expand Down

0 comments on commit d303bc3

Please sign in to comment.