mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-23 21:35:26 +03:00
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
Block a user