summaryrefslogtreecommitdiff
path: root/src/crypt_chain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt_chain.cc')
-rw-r--r--src/crypt_chain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt_chain.cc b/src/crypt_chain.cc
index 41c7624b..ee1b2486 100644
--- a/src/crypt_chain.cc
+++ b/src/crypt_chain.cc
@@ -33,7 +33,7 @@ using std::cout;
static void command (char const * c)
{
int const r = system (c);
- if (WEXITSTATUS (r)) {
+ if (r) {
stringstream s;
s << "error in " << c << "\n";
throw libdcp::MiscError (s.str());