mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-08 16:37:46 +02: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:
parent
dee0f5d168
commit
a7cfb26a92
@ -18560,3 +18560,8 @@
|
||||
Guide.
|
||||
2019-03-28 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a typo in the remarks in 'apis/pypad/scripts/pypad_serial.py'.
|
||||
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.
|
||||
|
@ -111,7 +111,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("RDAdmin","rdadmin",RDADMIN_USAGE,this);
|
||||
if(!rda->open(&err_msg,&err_type)) {
|
||||
if(!rda->open(&err_msg,&err_type,false)) {
|
||||
if(err_type!=RDApplication::ErrorNoHostEntry) {
|
||||
QMessageBox::critical(this,"RDAdmin - "+tr("Error"),err_msg);
|
||||
exit(1);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user