Prevent Host Updater from going in to an infinite loop.

The incorrect postion of the curly bracket caused the
Host Updater to create a new version object and to call
itself with out checking if the same version exists already.

Resolves openbmc/openbmc#1923

Change-Id: Ide8f98d67604a9ade272e69e20780f21cac01e0c
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed
tree: 6d00d9f745debdc47bb5fba2c91b42005d247618
  1. m4/
  2. test/
  3. .gitignore
  4. activation.cpp
  5. activation.hpp
  6. bootstrap.sh
  7. configure.ac
  8. generate-squashfs
  9. item_updater.cpp
  10. item_updater.hpp
  11. item_updater_main.cpp
  12. LICENSE
  13. Makefile.am
  14. README.md
  15. version.hpp
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.