commit | 57703664cd76c2744adf4c5fa504388909efa824 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Aug 07 12:52:24 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Aug 09 17:28:43 2018 +0000 |
tree | 6fdefea1beebb5fd86c728963719b5462dabf2de | |
parent | 3c086f2f649d1c4cc7926cbd9375a39dd23e6997 [diff] [blame] |
flash-ipmi: implement flashDataFinish Change-Id: I0706df68bedd4ebceb50b10682e5e056fc7937f1 Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/flash-ipmi.cpp b/flash-ipmi.cpp index 07b9b9a..42333dd 100644 --- a/flash-ipmi.cpp +++ b/flash-ipmi.cpp
@@ -129,7 +129,13 @@ bool FlashUpdate::flashFinish() { - /* TODO: implement. */ + /* If it's open, close it. */ + if (flashFd) + { + closeFile(&flashFd); + return true; + } + return false; }