vere: check exit code before upgrade/prepare-for, print failure msg
@@ -1507,6 +1507,15 @@ u3_king_done(void)
{
uv_handle_t* han_u = (uv_handle_t*)&u3K.tim_u;
+ if ( u3_Host.xit_i ) {
+ if ( c3y == u3_Host.nex_o ) {
+ u3l_log("vere: upgrade failed\r\n");
+ }
+ else if ( c3y == u3_Host.pep_o ) {
+ u3l_log("vere: prep for upgrade failed\r\n");
+ }
+ }
+ else {
// get next binary
//
if ( c3y == u3_Host.nex_o ) {
@@ -1553,6 +1562,7 @@ u3_king_done(void)
u3_Host.ops_u.nuu = c3n;
u3_king_dock(U3_VERE_PACE);
}
+ }
// XX hack, if pier's are still linked, we're not actually done
//
