upgraded: register stage2 process in uloop as intended
[oweals/procd.git] / upgraded / upgraded.c
index e70f92dd42cb1f84792d2fc5adf9728e21f640f1..6bc5ad8f94f3060c7c56535418b5df6f64df2f26 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)