From 268ede8a9c52023b0eed75927bdbfe30f03660e6 Mon Sep 17 00:00:00 2001 From: Flaminel Date: Fri, 21 Feb 2025 21:49:03 +0200 Subject: [PATCH] trying to fix Unix stat again --- code/Infrastructure/Verticals/Files/HardlinkFileService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Infrastructure/Verticals/Files/HardlinkFileService.cs b/code/Infrastructure/Verticals/Files/HardlinkFileService.cs index db8a963..e032848 100644 --- a/code/Infrastructure/Verticals/Files/HardlinkFileService.cs +++ b/code/Infrastructure/Verticals/Files/HardlinkFileService.cs @@ -79,7 +79,7 @@ public class HardlinkFileService : IHardlinkFileService { try { - Stat stat = default; + Stat stat = new(); if (stat_file(filePath, ref stat) == 0) {