diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-20 12:27:56 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-23 12:48:26 +0000 |
commit | bcf4ec9c6152094a0a2abee37f4c6c92062998ba (patch) | |
tree | 55181d6346102ff902919bb2443c59081f2d6a7f /Userland/Utilities/date.cpp | |
parent | da27937144f1d23bbca39c4e2f7a7bc1484b2dc1 (diff) | |
download | serenity-bcf4ec9c6152094a0a2abee37f4c6c92062998ba.zip |
Userland: Add promises to programs that will read /etc/timezone
This will require unveiling /etc/timezone itself for reading, as well as
the rpath pledge promise.
Diffstat (limited to 'Userland/Utilities/date.cpp')
-rw-r--r-- | Userland/Utilities/date.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/date.cpp b/Userland/Utilities/date.cpp index 1298a9ed76..12d6bae420 100644 --- a/Userland/Utilities/date.cpp +++ b/Userland/Utilities/date.cpp @@ -13,7 +13,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio settime", nullptr)); + TRY(Core::System::pledge("stdio settime rpath", nullptr)); bool print_unix_date = false; bool print_iso_8601 = false; |