fix homeDir check

bcachefs directories return stat.st_size=0
This commit is contained in:
qubitnano committed 2025-12-19 20:18:18 -05:00
1 parent a6374b016d
commit 0df84ff180
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ s32 fsInit(void)
if (!portable) {
if (fsFileSize("./" DEFAULT_BASEDIR_NAME) >= 0) {
path = "./" DEFAULT_BASEDIR_NAME;
} else if (fsFileSize("$H/" DEFAULT_BASEDIR_NAME)) {
} else if (fsFileSize("$H/" DEFAULT_BASEDIR_NAME) >= 0) {
path = "$H/" DEFAULT_BASEDIR_NAME;
}
}