From 9a920c5a99552ff5307edbde3699b04dca44471b 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 --- deps/ox/src/ox/fs/filesystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/fs/filesystem.hpp b/deps/ox/src/ox/fs/filesystem.hpp index 2576ffaf..47810a95 100644 --- a/deps/ox/src/ox/fs/filesystem.hpp +++ b/deps/ox/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; }