Projects
Eulaceura:Factory
libdnf
_service:obs_scm:backport-dnf-repo-Fix-utimes-e...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-dnf-repo-Fix-utimes-error-messages.patch of Package libdnf
From 933f00f5366e9935c9f00f842a4bb60b7da87ad4 Mon Sep 17 00:00:00 2001 From: Alessandro Astone <ales.astone@gmail.com> Date: Sun, 1 Oct 2023 19:18:54 +0200 Subject: [PATCH] dnf-repo: Fix utimes error message Oops, syscall returns 0 on success Conflict:NA Reference:https://github.com/rpm-software-management/libdnf/commit/933f00f5366e9935c9f00f842a4bb60b7da87ad4 --- libdnf/dnf-repo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdnf/dnf-repo.cpp b/libdnf/dnf-repo.cpp index c2495f564..ca3d1920a 100644 --- a/libdnf/dnf-repo.cpp +++ b/libdnf/dnf-repo.cpp @@ -1798,7 +1798,7 @@ dnf_repo_update(DnfRepo *repo, if (repoImpl->isInSync()) { /* reset timestamp */ ret = utimes(repoImpl->repomdFn.c_str(), NULL); - if (!ret) + if (ret != 0) g_debug("Failed to reset timestamp on repomd.xml"); ret = dnf_state_done(state, error); if (!ret)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2