repo: Delete a remote's keyring when deleting a remote
This commit is contained in:
parent
56d684173d
commit
0c92d7a8d0
|
|
@ -915,6 +915,10 @@ impl_repo_remote_delete (OstreeRepo *self,
|
|||
}
|
||||
}
|
||||
|
||||
/* Delete the remote's keyring file, if it exists. */
|
||||
if (!ot_ensure_unlinked_at (self->repo_dir_fd, remote->keyring, error))
|
||||
goto out;
|
||||
|
||||
ost_repo_remove_remote (self, remote);
|
||||
|
||||
ret = TRUE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue