mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 01:23:43 +02:00
2019-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added a startup check for the 'rivendell' service.
This commit is contained in:
@@ -53,6 +53,7 @@ MainObject::MainObject(QObject *parent)
|
||||
:QObject(parent)
|
||||
{
|
||||
QString err_msg;
|
||||
RDApplication::ErrorType err_type=RDApplication::ErrorOk;
|
||||
|
||||
//
|
||||
// Startup DateTime
|
||||
@@ -63,7 +64,7 @@ MainObject::MainObject(QObject *parent)
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("rdvairplayd","rdvairplayd",RDVAIRPLAYD_USAGE,this);
|
||||
if(!rda->open(&err_msg)) {
|
||||
if(!rda->open(&err_msg,&err_type,false)) {
|
||||
fprintf(stderr,"rdvairplayd: %s\n",(const char *)err_msg);
|
||||
exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user