mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2021-05-31 Fred Gleason <fredg@paravelsystems.com>
* Modified rdmaint(8) to enable it to operate even when the Rivendell services are not running. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -58,8 +58,9 @@ MainObject::MainObject(QObject *parent)
|
||||
// Open the Database
|
||||
//
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("rdmaint","rdmaint",RDMAINT_USAGE,this));
|
||||
if(!rda->open(&err_msg)) {
|
||||
if(!rda->open(&err_msg,NULL,false)) {
|
||||
fprintf(stderr,"rdmaint: %s\n",err_msg.toUtf8().constData());
|
||||
rda->syslog(LOG_ERR,"%s",err_msg.toUtf8().constData());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user