fix: Remove cat (#561)

This commit is contained in:
Kroese
2024-01-14 00:00:59 +01:00
committed by GitHub
parent fcd7b8a825
commit 6422aec780
6 changed files with 10 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ done
[ -f "$shutdown" ] && exit 1
location=$(cat "$file")
location=$(<"$file")
if [[ "$location" != "20.20"* ]]; then
@@ -69,7 +69,7 @@ if [[ "$location" != "20.20"* ]]; then
else
ip="$(cat "$address")"
ip=$(<"$address")
port="${location##*:}"
if [[ "$ip" == "172."* ]]; then