hif: Fix a crash when refreshing a repo that is not enabled
This commit is contained in:
parent
8ffab1c856
commit
3382ad3853
@ -1276,16 +1276,13 @@ pk_backend_refresh_source (PkBackendJob *job,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
g_propagate_error (error, error_local);
|
g_propagate_error (error, error_local);
|
||||||
goto out;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* done */
|
/* done */
|
||||||
if (!hif_state_done (state, error))
|
return hif_state_done (state, error);
|
||||||
return FALSE;
|
|
||||||
out:
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user