summaryrefslogtreecommitdiff
path: root/Userland/Utilities/sql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/sql.cpp')
-rw-r--r--Userland/Utilities/sql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/sql.cpp b/Userland/Utilities/sql.cpp
index 9d68d4646d..2b6516b971 100644
--- a/Userland/Utilities/sql.cpp
+++ b/Userland/Utilities/sql.cpp
@@ -10,8 +10,8 @@
#include <AK/String.h>
#include <AK/StringBuilder.h>
#include <LibCore/ArgsParser.h>
-#include <LibCore/DeprecatedFile.h>
#include <LibCore/StandardPaths.h>
+#include <LibFileSystem/FileSystem.h>
#include <LibLine/Editor.h>
#include <LibMain/Main.h>
#include <LibSQL/AST/Lexer.h>
@@ -365,7 +365,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
SQLRepl repl(loop, database_name, move(sql_client));
- if (!suppress_sqlrc && Core::DeprecatedFile::exists(sqlrc_path))
+ if (!suppress_sqlrc && FileSystem::exists(sqlrc_path))
repl.source_file(sqlrc_path);
if (!file_to_source.is_empty())
repl.source_file(file_to_source);