mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
refactor rustypaste and add alpine-tools
This commit is contained in:
@@ -551,7 +551,7 @@ get_ip() {
|
||||
|
||||
# Try hostname -I first (most common)
|
||||
if command -v hostname &>/dev/null; then
|
||||
ip=$(hostname -I 2>/dev/null | awk '{print $1}')
|
||||
ip=$(hostname -I 2>/dev/null | awk '{print $1}' || true)
|
||||
fi
|
||||
|
||||
# Fallback to ip command
|
||||
|
||||
Reference in New Issue
Block a user