Update core.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
This commit is contained in:
parent
e5e7c5fa9f
commit
6e43ed60eb
@ -232,7 +232,7 @@ ssh_check() {
|
|||||||
local host_ip=$(hostname -I | awk '{print $1}')
|
local host_ip=$(hostname -I | awk '{print $1}')
|
||||||
|
|
||||||
if [[ "$client_ip" == "127.0.0.1" || "$client_ip" == "$host_ip" ]]; then
|
if [[ "$client_ip" == "127.0.0.1" || "$client_ip" == "$host_ip" ]]; then
|
||||||
return # WebUI-Shell → kein Hinweis
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_warn "Running via external SSH (client: $client_ip)."
|
msg_warn "Running via external SSH (client: $client_ip)."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user