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 | |
parent | e628a1463bef2d4a6c00d2b1f8ddb8affe4f6427 (diff) |
Adapt to process_error change
-rw-r--r-- | bpkg/archive.cxx | 2 | ||||
-rw-r--r-- | bpkg/checksum.cxx | 8 | ||||
-rw-r--r-- | bpkg/fetch.cxx | 8 | ||||
-rw-r--r-- | bpkg/openssl.cxx | 2 | ||||
-rw-r--r-- | bpkg/pkg-unpack.cxx | 2 | ||||
-rw-r--r-- | bpkg/satisfaction.cxx | 2 | ||||
-rw-r--r-- | bpkg/utility.cxx | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx index 3961aba..4e12e28 100644 --- a/bpkg/archive.cxx +++ b/bpkg/archive.cxx @@ -80,7 +80,7 @@ namespace bpkg { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); diff --git a/bpkg/checksum.cxx b/bpkg/checksum.cxx index 75f1375..b02ad1c 100644 --- a/bpkg/checksum.cxx +++ b/bpkg/checksum.cxx @@ -57,7 +57,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -123,7 +123,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -189,7 +189,7 @@ namespace bpkg } catch (const process_error& e) { - if (e.child ()) + if (e.child) exit (1); // Fall through. @@ -325,7 +325,7 @@ namespace bpkg { error << "unable to execute " << sha256_path << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); 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 (); diff --git a/bpkg/openssl.cxx b/bpkg/openssl.cxx index 3268cf8..01f07a0 100644 --- a/bpkg/openssl.cxx +++ b/bpkg/openssl.cxx @@ -51,7 +51,7 @@ namespace bpkg { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); diff --git a/bpkg/pkg-unpack.cxx b/bpkg/pkg-unpack.cxx index 2d9475e..d4a255c 100644 --- a/bpkg/pkg-unpack.cxx +++ b/bpkg/pkg-unpack.cxx @@ -208,7 +208,7 @@ namespace bpkg { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); diff --git a/bpkg/satisfaction.cxx b/bpkg/satisfaction.cxx index 7c1541a..6958328 100644 --- a/bpkg/satisfaction.cxx +++ b/bpkg/satisfaction.cxx @@ -154,7 +154,7 @@ namespace bpkg { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index 234304e..95e47ba 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -185,7 +185,7 @@ namespace bpkg { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); |