]> 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)
committerSean Bright <sean@seanbright.com>
Wed, 6 Dec 2023 14:48:20 +0000 (14:48 +0000)
commitb437cc3267705b01278da404bf9322cadc5be995
treea88299fb814acc90abb8d20c3041673e422deadf
parent5f0b568341eda9b614bff69479fb29f78ba3b424
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
main/config.c