mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2019-01-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that caused invalid values for PyPAD UID/GID to be loaded.
This commit is contained in:
@@ -654,10 +654,12 @@ bool RDConfig::load()
|
||||
if((groups=getgrnam(profile->stringValue("Identity","AudioGroup")))!=NULL) {
|
||||
conf_gid=groups->gr_gid;
|
||||
}
|
||||
if((user=getpwnam(profile->stringValue("Identity","PypadOwner")))!=NULL) {
|
||||
if((user=getpwnam(profile->stringValue("Identity","PypadOwner",
|
||||
RD_DEFAULT_PYPAD_OWNER)))!=NULL) {
|
||||
conf_pypad_uid=user->pw_uid;
|
||||
}
|
||||
if((groups=getgrnam(profile->stringValue("Identity","PypadGroup")))!=NULL) {
|
||||
if((groups=getgrnam(profile->stringValue("Identity","PypadGroup",
|
||||
RD_DEFAULT_PYPAD_GROUP)))!=NULL) {
|
||||
conf_pypad_gid=groups->gr_gid;
|
||||
}
|
||||
conf_cae_logfile=profile->stringValue("Caed","Logfile","");
|
||||
|
||||
Reference in New Issue
Block a user