mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
lib/deploy: Write to journal if nothing to finalize
This can happen if a deployment was staged and later cleaned up. Though just as a helper when debugging issues, let's explicitly mention that case. Closes: #1841 Approved by: cgwalters
This commit is contained in:
parent
5464535205
commit
405d9ef9e0
@ -2881,7 +2881,10 @@ _ostree_sysroot_finalize_staged (OstreeSysroot *self,
|
||||
* service when a staged deployment is created.
|
||||
*/
|
||||
if (!self->staged_deployment)
|
||||
return TRUE;
|
||||
{
|
||||
ot_journal_print (LOG_INFO, "No deployment staged for finalization");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Notice we send this *after* the trivial `return TRUE` above; this msg implies we've
|
||||
* committed to finalizing the deployment. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user