Merge branch 'deltecent-master'

This commit is contained in:
Fred Gleason 2019-08-28 17:38:31 -04:00
commit e655f8a597
2 changed files with 18 additions and 9 deletions

View File

@ -19039,3 +19039,6 @@
dialog.
2019-08-28 Patrick Linstruth <patrick@deltecent.com>
* Added 'pypad_httpget.py' script.
2019-08-29 Patrick Linstruth <patrick@deltecent.com>
* Modified caed(8) to skip JACK startup, rather than crash, if
no command line is specified in rdadmin(1).

View File

@ -492,6 +492,7 @@ void MainObject::jackInit(RDStation *station)
if(station->startJack()) {
QStringList args=
station->jackCommandLine().split(" ",QString::SkipEmptyParts);
if(args.size()) {
QString program=args.at(0);
args.removeFirst();
QProcess *proc=new QProcess(this);
@ -505,6 +506,11 @@ void MainObject::jackInit(RDStation *station)
}
sleep(1);
}
else {
RDApplication::syslog(rd_config,LOG_WARNING,
"could not start JACK server: no command line specified");
}
}
//
// Attempt to Connect to Jack Server