Skip to content

Commit

Permalink
SkipDecryption: Fix condition
Browse files Browse the repository at this point in the history
Change-Id: I3330f49214f930d481e0e237b654d44d446092bd
  • Loading branch information
sekaiacg authored and SIDDK24 committed Jan 30, 2022
1 parent 57d7c48 commit 43506e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startupArgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool startupArgs::processRecoveryArgs(std::vector<std::string> args, int index)
LOGERR("argument error specifying zip file\n");
} else {
std::string ORSCommand = "install " + arg;
SkipDecryption = arg.find("@") == 1;
SkipDecryption = arg.find("@") == 0;
if (!OpenRecoveryScript::Insert_ORS_Command(ORSCommand))
return false;
}
Expand Down

0 comments on commit 43506e4

Please sign in to comment.