summaryrefslogtreecommitdiff
path: root/src/crypt_chain.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-11 00:22:35 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-11 00:22:35 +0100
commit550e5859cda41b9dfd3a84ac83fe3b6491597f5b (patch)
treed3c846ed1c0d130077c9e65c97896bf0b65ecb04 /src/crypt_chain.cc
parent6f4d2af753813849c5cf0e9e568edad667b8b77a (diff)
Some speculative win32 build fixes.
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());