1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-03-16 01:06:04 +00:00

Use the same idea for the last space

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2023-07-20 22:56:49 -03:00
parent 4af71d8429
commit 8d32a5727c
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33

View File

@ -50,7 +50,7 @@ fi
# Strip valid options, leaving only the domain and invalid options # Strip valid options, leaving only the domain and invalid options
# This allows users to place the options before or after the domain # This allows users to place the options before or after the domain
options=$(sed -E 's/(^|\s)-(all|exact) ?//g' <<< "${options}") options=$(sed -E 's/(^|\s)-(all|exact)($|\s)//g' <<< "${options}")
# Handle remaining options # Handle remaining options
# If $options contain non ASCII characters, convert to punycode # If $options contain non ASCII characters, convert to punycode