Changeset 2765:3296ba1d93a7 in roaraudio
- Timestamp:
- 09/23/09 01:41:39 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r2759 r2765 1529 1529 roar_vio_close(&pidfile_vio); 1530 1530 } 1531 #if defined(ROAR_HAVE_SETGID) && defined(ROAR_HAVE_SETUID) && defined(ROAR_HAVE_IO_POSIX) 1531 1532 if ( pwd || grp ) { 1532 1533 if ( chown(pidfile, pwd ? pwd->pw_uid : -1, grp ? grp->gr_gid : -1) == -1 ) { … … 1537 1538 ROAR_WARN("Can not change permissions of pidfile: %s: %s", pidfile, strerror(errno)); 1538 1539 } 1540 #endif 1539 1541 } 1540 1542 #endif
Note: See TracChangeset
for help on using the changeset viewer.