Disable core dumps (keepassxc-cli).

This commit is contained in:
Louis-Bertrand Varin 2017-02-02 10:33:50 -05:00
parent 52991f3d66
commit 9cfc862b07

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()));