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:
Fred Gleason 2021-05-31 13:15:01 -04:00
parent dca3fd567b
commit cd54960fe7
2 changed files with 5 additions and 1 deletions

View File

@ -21739,3 +21739,6 @@
to work on the basis of 'distribution type'.
* Added desktop entries for rdalsaconfig(8) and rddbconfig(8) that use
sudo(8) for privilege escalation.
2021-05-31 Fred Gleason <fredg@paravelsystems.com>
* Modified rdmaint(8) to enable it to operate even when
the Rivendell services are not running.

View File

@ -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);
}