Merge pull request #683 from qubitnano/bcachefs

fix homeDir check
This commit is contained in:
fgsfds authored and GitHub committed 2025-12-20 10:27:10 +01:00
commit 50481b77d0
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;
}
}