gsi_tool: check closePartition() after installation

Call closePartition() to check error status after each partition
installation, so that we don't enable and reboot a DSU while the
installation fails.

Bug: 165471299
Test: gsi_tool install
Change-Id: Ie1e5a97ee486af17c0d435853257d17e436a4553
1 file changed