Skip to content

Commit

Permalink
ignore extra = on install cmd
Browse files Browse the repository at this point in the history
Change-Id: If9a0e6d4c00f6dd79f76c68ed0370a3101211801
  • Loading branch information
bigbiff authored and Dees-Troy committed Aug 30, 2013
1 parent 7abb7a5 commit 72e9554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openrecoveryscript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ int OpenRecoveryScript::run_script_file(void) {
LOGINFO("command is: '%s' and ", command);
val_start = script_line;
val_start += cindex + 1;
if ((int) *val_start == 51)
val_start++; //get rid of = at the beginning
strncpy(value, val_start, line_len - cindex - remove_nl);
LOGINFO("value is: '%s'\n", value);
} else {
Expand Down

0 comments on commit 72e9554

Please sign in to comment.