about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/nix-prefetch-url.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 446c7a669c3d..2b447850162c 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -58,7 +58,7 @@ if test -z "$finalPath"; then
     if test -n "$tmpPath"; then rm -rf $tmpPath || true; fi
 
     if test -n "$expHash" -a "$expHash" != "$hash"; then
-        echo "hash mismatch for URL \`$url'"
+        echo "hash mismatch for URL \`$url'" >&2
         exit 1
     fi
 fi