]> git.ipfire.org Git - thirdparty/asterisk.git/commit
config.c: Log #exec include failures.
authorSean Bright <sean@seanbright.com>
Wed, 22 Nov 2023 19:25:19 +0000 (14:25 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:32:13 +0000 (18:32 +0000)
commit1c617f9b01060e8a0b417e8f7876654594e94155
tree8e780e0539f80eef3004c3be43ed91f272297618
parent8087a4ef2c2ea786be0f16c803a5a538622368ab
config.c: Log #exec include failures.

If the script referenced by `#exec` does not exist, writes anything to
stderr, or exits abnormally or with a non-zero exit status, we log
that to Asterisk's error logging channel.

Additionally, write out a warning if the script produces no output.

Fixes #259

(cherry picked from commit b437cc3267705b01278da404bf9322cadc5be995)
main/config.c