Config: fix crash related to absolute paths

BoringSSL is fine with that still.
This commit is contained in:
Halil Durak committed 2026-07-22 18:29:31 +03:00
1 parent 6f828cb92e
commit cbaef301d9
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ fn logLevelValidator(_: Allocator, args: *std.process.Args.Iterator) !?log.Level
}
pub fn isHashedDirectory(dir: []const u8) bool {
var handle = std.fs.openDirAbsolute(dir, .{ .iterate = true }) catch return false;
var handle = std.fs.cwd().openDir(dir, .{ .iterate = true }) catch return false;
defer handle.close();
var it = handle.iterate();