Skip to content

Commit 2fed181

Browse files
authored
Update vpd_tool.cpp
success return in write
1 parent 8d35fae commit 2fed181

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vpd-tool/src/vpd_tool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ int VpdTool::writeKeyword(std::string i_vpdPath,
332332
if (l_rc > 0)
333333
{
334334
std::cout << "Data updated successfully " << std::endl;
335+
l_rc = constants::SUCCESS;
335336
}
336337
}
337338
catch (const std::exception& l_ex)

0 commit comments

Comments
 (0)