mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-19 05:40:13 +00:00
Add editorconfig-checker workflow
Add yml style to editorconfig Add markdown styling to editorconfig Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
46331e415c
commit
73d5902bed
8 changed files with 25 additions and 7 deletions
|
@ -89,7 +89,7 @@ getFTLAPIPort(){
|
|||
# -s: FILE exists and has a size greater than zero
|
||||
ftl_api_port=$(cat "${PORTFILE}")
|
||||
# Exploit prevention: unset the variable if there is malicious content
|
||||
# Verify that the value read from the file is numeric
|
||||
# Verify that the value read from the file is numeric
|
||||
expr "$ftl_api_port" : "[^[:digit:]]" > /dev/null && unset ftl_api_port
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue