sysupdate: change status once operation has completed

Otherwise after the service exits it will still show
"Installing 'foobar'" as the status, which is confusing
This commit is contained in:
Luca Boccassi
2025-05-29 15:44:31 +02:00
committed by Mike Yuan
parent 1994426f90
commit 5cfc9c34f4
+3
View File
@@ -1088,6 +1088,9 @@ static int context_apply(
log_info("%s Successfully installed update '%s'.", glyph(GLYPH_SPARKLES), us->version);
(void) sd_notifyf(/* unset_environment=*/ false,
"STATUS=Installed '%s'.", us->version);
if (ret_applied)
*ret_applied = us;