repo: Delete a remote's keyring when deleting a remote
This commit is contained in:
1 parent
56d684173d
commit
0c92d7a8d0
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user