diff --git a/src/servers/launch/AbstractEmptyDirectoryJob.cpp b/src/servers/launch/AbstractEmptyDirectoryJob.cpp index 44b14d1753..9929df69b1 100644 --- a/src/servers/launch/AbstractEmptyDirectoryJob.cpp +++ b/src/servers/launch/AbstractEmptyDirectoryJob.cpp @@ -23,7 +23,7 @@ status_t AbstractEmptyDirectoryJob::CreateAndEmpty(const char* path) const { BEntry entry(path); - if (entry.InitCheck() != B_OK) { + if (!entry.Exists()) { create_directory(path, 0777); status_t status = entry.SetTo(path);