[OpenSIPS-Devel] [OpenSIPS/opensips] 15a0ea: Avoid chown on PID and PGID files in debug mode

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Mar 30 10:19:45 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 15a0ea716e5274f09ef01fa8cdce8029b7e14a30
      https://github.com/OpenSIPS/opensips/commit/15a0ea716e5274f09ef01fa8cdce8029b7e14a30
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Avoid chown on PID and PGID files in debug mode

In debug mode, these files are not created in debug mode (as daemonize() is not triggered), so any chown() will simply fail on it.




More information about the Devel mailing list