Disable core dumps (keepassxc-cli).

This commit is contained in:
Louis-Bertrand Varin committed 2017-03-16 10:09:50 -04:00
1 parent 52991f3d66
commit 9cfc862b07
1 file changed
+4
+4
View File
@@ -23,10 +23,14 @@
#include <QStringList>
#include "config-keepassx.h"
#include "core/Tools.h"
#include "crypto/Crypto.h"
int main(int argc, char **argv)
{
#ifdef QT_NO_DEBUG
Tools::disableCoreDumps();
#endif
if (!Crypto::init()) {
qFatal("Fatal error while testing the cryptographic functions:\n%s", qPrintable(Crypto::errorString()));