diff options
Diffstat (limited to 'Userland/Utilities/ini.cpp')
-rw-r--r-- | Userland/Utilities/ini.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/ini.cpp b/Userland/Utilities/ini.cpp index da82d076a6..19e92bb76b 100644 --- a/Userland/Utilities/ini.cpp +++ b/Userland/Utilities/ini.cpp @@ -6,7 +6,7 @@ #include <LibCore/ArgsParser.h> #include <LibCore/ConfigFile.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/System.h> #include <LibMain/Main.h> @@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) args_parser.add_positional_argument(value_to_write, "Value to write", "value", Core::ArgsParser::Required::No); args_parser.parse(arguments); - if (!Core::File::exists(path)) { + if (!Core::DeprecatedFile::exists(path)) { warnln("File does not exist: '{}'", path); return 1; } |