transaction: Fix missing return in error case

Hooray for compiler warnings.
This commit is contained in:
Colin Walters 2021-02-08 18:33:11 +00:00 committed by OpenShift Merge Robot
parent dba43e201e
commit a8fe6cf32b

View File

@ -842,7 +842,7 @@ get_driver_g_variant (GVariant **driver_info,
&local_error))
{
if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
g_propagate_error (error, util::move_nullify (local_error)), FALSE;
return g_propagate_error (error, util::move_nullify (local_error)), FALSE;
// Don't propagate error if state file not found; just return early.
return TRUE;
}