2021-06-01 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compile warning in 'lib/rdcart_dialog.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-06-01 10:36:36 -04:00
parent a9648de976
commit 8b19d28c17
2 changed files with 9 additions and 2 deletions

View File

@ -21758,3 +21758,5 @@
'rivendell-webapi' DEB package.
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warning in 'lib/rdcae.cpp'.
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warning in 'lib/rdcart_dialog.cpp'.

View File

@ -310,11 +310,16 @@ void RDCartDialog::editorData()
delete q;
if(fork()==0) {
system((cmd+" &").toUtf8());
int exit_code=system((cmd+" &").toUtf8());
if(exit_code!=0) {
rda->syslog(LOG_WARNING,
"editor subprocess returned non-zero exit code %d [%s]",
exit_code,strerror(errno));
}
exit(0);
}
}
void RDCartDialog::loadFileData()
{