diff options
Diffstat (limited to 'bpkg/checksum.cxx')
-rw-r--r-- | bpkg/checksum.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 (); |