mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
2019-04-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a race in rdservice(8) that could cause a deadlock when starting on a system with many dropboxes configured. * Fixed a bug in rdadmin(1) that caused a spurious error message when started on a system with the 'rivendell' service inactive.
This commit is contained in:
@@ -55,6 +55,7 @@ MainObject::MainObject(QObject *parent)
|
||||
:QObject(parent)
|
||||
{
|
||||
QString err_msg;
|
||||
RDApplication::ErrorType err_type=RDApplication::ErrorOk;
|
||||
|
||||
//
|
||||
// Open the syslog
|
||||
@@ -73,7 +74,7 @@ MainObject::MainObject(QObject *parent)
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("rdservice","rdservice","\n\n",this);
|
||||
if(!rda->open(&err_msg)) {
|
||||
if(!rda->open(&err_msg,&err_type,false)) {
|
||||
syslog(LOG_ERR,"unable to open database [%s]",
|
||||
(const char *)err_msg.utf8());
|
||||
exit(2);
|
||||
|
||||
Reference in New Issue
Block a user