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

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


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a0a8e1f169542bac233d0dd7655a7553e5f3184
      https://github.com/OpenSIPS/opensips/commit/3a0a8e1f169542bac233d0dd7655a7553e5f3184
  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