From 508d17932fb765ffee36516cc85ee89df6a50dbe Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 26 Nov 2024 01:58:05 -0600 Subject: [PATCH] func_getattr_newest.cpp --- src/func_getattr_newest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/func_getattr_newest.cpp b/src/func_getattr_newest.cpp index 79acdb4c..cc971e80 100644 --- a/src/func_getattr_newest.cpp +++ b/src/func_getattr_newest.cpp @@ -35,7 +35,7 @@ Func2::GetattrNewest::process(const Branches &branches_, newest_branch = &branch; } - if(st_->st_ino == 0) + if(newest_branch == nullptr) return -ENOENT; newest_branch->path;