diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-10 17:46:51 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-10 17:46:51 +0300 |
commit | 260729bd34c4b71e133a6b86b7302bef4a424ea2 (patch) | |
tree | 18fa545a5a62062bd75b9b84d1c373d1fc95db92 /bpkg/fetch.cxx | |
parent | e628a1463bef2d4a6c00d2b1f8ddb8affe4f6427 (diff) |
Adapt to process_error change
Diffstat (limited to 'bpkg/fetch.cxx')
-rw-r--r-- | bpkg/fetch.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx index 8a33f07..2c87f6b 100644 --- a/bpkg/fetch.cxx +++ b/bpkg/fetch.cxx @@ -88,7 +88,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); return false; @@ -207,7 +207,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -322,7 +322,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -500,7 +500,7 @@ namespace bpkg { error << "unable to execute " << fetch_path << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); |