mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2019-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added a startup check for the 'rivendell' service.
This commit is contained in:
@@ -185,13 +185,14 @@ MainObject::MainObject(QObject *parent)
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
QString err_msg;
|
||||
RDApplication::ErrorType err_type=RDApplication::ErrorOk;
|
||||
debug=false;
|
||||
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("rdcatchd","rdcatchd",RDCATCHD_USAGE,this);
|
||||
if(!rda->open(&err_msg)) {
|
||||
if(!rda->open(&err_msg,&err_type,false)) {
|
||||
fprintf(stderr,"rdcatchd: %s\n",(const char *)err_msg);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user