]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4589: ssl_crtd: returning zero on failure
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 18 Apr 2017 12:40:34 +0000 (00:40 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 18 Apr 2017 12:40:34 +0000 (00:40 +1200)
src/security/cert_generators/file/security_file_certgen.cc

index 5298073112437ab1f2e4a851bb91bca127b253d3..c60ff26cb29e745cf89752ff99b4c55a527cefe3 100644 (file)
@@ -337,7 +337,7 @@ int main(int argc, char *argv[])
         }
     } catch (std::runtime_error & error) {
         std::cerr << argv[0] << ": " << error.what() << std::endl;
-        return 0;
+        return -1;
     }
     return 0;
 }