From 466e887028b702f386b4569962314d463a7d5f2a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Sep 2016 14:50:44 +0200 Subject: Fix FreeBSD fetch detection --- bpkg/fetch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/fetch.cxx') 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&) { -- cgit v1.1