summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-12-04 16:32:29 +0000
committerjilles <jilles@FreeBSD.org>2015-12-04 16:32:29 +0000
commit24858cf7bbd333bc022ef13635e8f440888340d7 (patch)
treec244480bb8206451d5c2d6bab411c018e52c8607 /lib/libc/string/strmode.c
parentd1dd0d2cc3e7d2ad550c4e8dfeca3c30b0d8699d (diff)
downloadFreeBSD-src-24858cf7bbd333bc022ef13635e8f440888340d7.zip
FreeBSD-src-24858cf7bbd333bc022ef13635e8f440888340d7.tar.gz
rc.subr: Check for running daemons before a custom start_cmd is executed.
Currently rc scripts implementing their own start_cmd do not enjoy the benefits of rc.subr's own check for rc_pid. This leads to around a third of ports with such a start_cmd not to check for the process at all and two thirds of ports to re-implement this check (sometimes wrongly). This patch moves the check for rc_pid to before ${rc_arg}_cmd is executed. Submitted by: Dirk Engling Reviewed by: feld MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D4156
Diffstat (limited to 'lib/libc/string/strmode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud