From 038ca96f9efe88f170429459d3d6619eaa5c17e9 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 13 May 2017 23:19:17 -0500 Subject: [PATCH] Add missing error reporting to file system ls --- src/ox/fs/filesystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/fs/filesystem.hpp b/src/ox/fs/filesystem.hpp index 2576ffafb..47810a95d 100644 --- a/src/ox/fs/filesystem.hpp +++ b/src/ox/fs/filesystem.hpp @@ -244,7 +244,7 @@ int FileSystem::ls(const char *path, List *list) { uint8_t dirBuff[s.size * 4]; auto dir = (Directory*) dirBuff; auto err = readDirectory(path, dir); - dir->ls(list); + err |= dir->ls(list); return err; }