diff --git a/pressure-vessel/runtime.c b/pressure-vessel/runtime.c
index 152670ed5d2fe75cceb160ca0f78a6cced82f316..e5b3638b4a928d34adbef32ccf1dd678c518d72f 100644
--- a/pressure-vessel/runtime.c
+++ b/pressure-vessel/runtime.c
@@ -2891,10 +2891,11 @@ pv_runtime_use_provider_graphics_stack (PvRuntime *self,
                                             arch->ld_so,
                                             SRT_RESOLVE_FLAGS_NONE,
                                             &ld_so_in_runtime,
-                                            error);
+                                            NULL);
 
-              if (fd < 0)
-                return FALSE;
+              /* Ignore fd, and just let it close: we're resolving
+               * the path for its side-effect of populating
+               * ld_so_in_runtime. */
             }
           else
             {