Skip to content

Commit

Permalink
src/artifacts: add missing error propagation to artifact_repo_prune_s…
Browse files Browse the repository at this point in the history
…ubdir()

Discovered by coverity.

Signed-off-by: Enrico Joerns <[email protected]>
  • Loading branch information
ejoerns committed Oct 18, 2024
1 parent 9ec288b commit 4216f06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/artifacts.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ static gboolean artifact_repo_prune_subdir(RArtifactRepo *repo, const gchar *par
g_autofree gchar *path = g_build_filename(repo->path, parent, NULL);
g_autoptr(GDir) dir = g_dir_open(path, 0, &ierror);
if (dir == NULL) {
g_propagate_error(error, ierror);
return TRUE;
}

Expand Down

0 comments on commit 4216f06

Please sign in to comment.