upgraded: register stage2 process in uloop as intended
[project/procd.git] / upgraded / upgraded.c
index e70f92d..6bc5ad8 100644 (file)
@@ -58,6 +58,8 @@ static void sysupgrade(char *path, char *command)
                fprintf(stderr, "Failed to start sysupgrade\n");
                uloop_end();
        }
+
+       uloop_process_add(&upgrade_proc);
 }
 
 int main(int argc, char **argv)