Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3801 - service function in shinit fails if service name contains a dash #8803

Closed
openwrt-bot opened this issue May 12, 2021 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

rhester72:

On OpenWRT 21.02, a change was made recently to use uniq to handle multi-process services.

While reviewing it, I discovered that service names containing a dash throw the following error from jsonfilter (visible if you remove the -q argument in the function):

Syntax error: Invalid escape sequence
In expression @.dnscrypt-proxy.instances[*].running
Near here --------------^

which results in the service being indicated as not running.

@openwrt-bot
Copy link
Author

jow-:

Fixed in https://git.openwrt.org/75ea878d1b for master and https://git.openwrt.org/faf9528a23 for OpenWrt-21.02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant