mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-05 11:54:59 -04:00
Disable core dumps (keepassxc-cli).
This commit is contained in:
parent
52991f3d66
commit
9cfc862b07
1 changed files with 4 additions and 0 deletions
|
@ -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()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue