commit | 123cbcc4b4266eda3a9fa4723d2b615c34e1bf23 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Jun 24 06:13:59 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jun 24 06:14:02 2022 -0500 |
tree | df55d9358bcc89a0e23d9794d38864eaa752dcf6 | |
parent | 35208459698f634f399f859f33e808d1a00946e5 [diff] |
oemcommands: fix invalid string find result Comparison on a std::string::find was against -1, but find returns an unsigned size_t. The correct approach is to compare against npos. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5a5aeff0dad9d2d47eef9bdb258643df8c4464bf