aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-04 14:50:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-04 14:50:44 +0200
commit466e887028b702f386b4569962314d463a7d5f2a (patch)
treec045856fac33ab8e5567eb18209813017c8d14bc
parent6ec7adc4bbcf1539ef180361b004193d63de8082 (diff)
Fix FreeBSD fetch detection
-rw-r--r--bpkg/fetch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx
index 1c9b623..734c261 100644
--- a/bpkg/fetch.cxx
+++ b/bpkg/fetch.cxx
@@ -304,7 +304,7 @@ namespace bpkg
getline (is, l);
is.close ();
- return pr.wait () && l.compare (0, 13, "usage: fetch ") == 0;
+ return l.compare (0, 13, "usage: fetch ") == 0;
}
catch (const ifdstream::failure&)
{