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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9cffcaa5028f4c991906190a1d7092b5e5d9bbd9
      https://github.com/OpenSIPS/opensips/commit/9cffcaa5028f4c991906190a1d7092b5e5d9bbd9
  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.

(cherry picked from commit 15a0ea716e5274f09ef01fa8cdce8029b7e14a30)




More information about the Devel mailing list