aboutsummaryrefslogtreecommitdiff
path: root/bpkg/fetch.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/fetch.hxx')
-rw-r--r--bpkg/fetch.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/fetch.hxx b/bpkg/fetch.hxx
index 78e77a7..6578f0d 100644
--- a/bpkg/fetch.hxx
+++ b/bpkg/fetch.hxx
@@ -156,7 +156,9 @@ namespace bpkg
// whether stderr is redirected by checking process::in_efd.
//
// In contrast to start_fetch() always fetch to stdout, which can be read by
- // the caller from the specified stream.
+ // the caller from the specified stream. On HTTP errors (e.g., 404) this
+ // stream may contain the error description returned by the server and the
+ // process may exit with 0 code.
//
// If the quiet argument is true, then, if stderr is redirected, minimize
// the amount of diagnostics printed by the fetch program by only printing