summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-27 09:57:23 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-27 09:57:23 +0000
commita86a53096f632f63afc6130c23291c28acb9686a (patch)
treeb17e970e2ead9578ee5d3d974d6a89e826ede975 /src
parentd0b7892cbab3618fca85a4c95d70d8a1c26a5c4d (diff)
Fix linux build.
Diffstat (limited to 'src')
-rw-r--r--src/signer_chain.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signer_chain.cc b/src/signer_chain.cc
index daed2d0b..61b0271a 100644
--- a/src/signer_chain.cc
+++ b/src/signer_chain.cc
@@ -65,7 +65,8 @@ static void command (string cmd)
delete[] buffer;
#else
- int const code = WEXITSTATUS (system (cmd.c_str ()));
+ int const r = system (cmd.c_str ());
+ int const code = WEXITSTATUS (r);
#endif
if (code) {
stringstream s;