aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-01-11 11:57:45 +0100
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-01-11 11:57:45 +0100
commite9a4abdb5d6fe8e128372a77d879b0187b1bacfe (patch)
tree0e1b541da8e5b7d9ebab7fdf94b3f4a209d02393 /src/libutil/logging.hh
parentc260640dec6e35c714b666a1e7adede5aab6972a (diff)
Make --repair-path also repair corrupt optimised links
There already existed a smoke test for the link content length, but it appears that there exists some corruptions pernicious enough to replace the file content with zeros, and keeping the same length. --repair-path now goes as far as checking the content of the link, making it true to its name and actually repairing the path for such coruption cases.
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index ce9c3dfed..5560d2bed 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -40,7 +40,7 @@ struct LoggerSettings : Config
Setting<bool> showTrace{
this, false, "show-trace",
R"(
- Where Nix should print out a stack trace in case of Nix
+ Whether Nix should print out a stack trace in case of Nix
expression evaluation errors.
)"};
};