aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ping-store.md
diff options
context:
space:
mode:
authorryneeverett <ryneeverett@gmail.com>2021-01-16 19:11:10 +0000
committerryneeverett <ryneeverett@gmail.com>2021-01-16 19:11:10 +0000
commit1e13c79a9165e99be9fccfec8e442d14bb66aef0 (patch)
treee28cf95a063189501bdb056bbf73c46e023c16e2 /src/nix/ping-store.md
parent00f99fdfe6ae9d16d938b4276323bbf28c5872ce (diff)
Document expected output of 'nix store ping'.
While interpreting the output is fairly intuitive it would be better to explicitly specify what a good invocation looks like. That this isn't completely obvious (or at least causes folks to second-guess themselves) can be seen in a couple user threads: - https://discourse.nixos.org/t/nixos-cache-fetching-issue/3575/11 - https://discourse.nixos.org/t/newbie-question-cant-get-trivial-example-of-nixops-to-work-on-my-mac/1125/8
Diffstat (limited to 'src/nix/ping-store.md')
-rw-r--r--src/nix/ping-store.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/ping-store.md b/src/nix/ping-store.md
index 322093091..79b108d9c 100644
--- a/src/nix/ping-store.md
+++ b/src/nix/ping-store.md
@@ -27,4 +27,6 @@ argument `--store` *url*) can be accessed. What this means is
dependent on the type of the store. For instance, for an SSH store it
means that Nix can connect to the specified machine.
+When the command succeeds a zero exit code is returned with no output.
+
)""