commit | 38692849a55967e522e77c6236320987bf67bfad | [log] [tgz] |
---|---|---|
author | sekaiacg <sekaiacg@gmail.com> | Sat Dec 04 20:14:33 2021 +0800 |
committer | bigbiff <bigbiff@teamw.in> | Wed Aug 03 23:13:36 2022 +0000 |
tree | 4859194398fe49f3ffdcc2dafbcf3d137b2f15ac | |
parent | c49e34af4721f637edb850acbe1e94fc1ac9edd5 [diff] |
SkipDecryption: Fix condition Change-Id: I3330f49214f930d481e0e237b654d44d446092bd
diff --git a/startupArgs.cpp b/startupArgs.cpp index bf74f87..954f3f5 100755 --- a/startupArgs.cpp +++ b/startupArgs.cpp
@@ -58,7 +58,7 @@ 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; }