aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2015-07-15 18:04:22 +0200
committerRenĂ© Korthaus <[email protected]>2015-07-15 18:04:22 +0200
commit35003d1b1dc53247f8c11284441e4dd398307ca8 (patch)
treef006ff174f99b6ad21ff2217ff04e376041770a1 /src
parent33d37b062091faa42f03a117b1e7494a8c2c4343 (diff)
Return !=0 on error
Diffstat (limited to 'src')
-rw-r--r--src/cmd/pkcs8.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/pkcs8.cpp b/src/cmd/pkcs8.cpp
index 88f6543de..658c781b9 100644
--- a/src/cmd/pkcs8.cpp
+++ b/src/cmd/pkcs8.cpp
@@ -56,6 +56,7 @@ int pkcs8(int argc, char* argv[])
catch(std::exception& e)
{
std::cout << "Exception caught: " << e.what() << std::endl;
+ return 2;
}
return 0;