refactor rustypaste and add alpine-tools

This commit is contained in:
CanbiZ
2026-01-15 10:04:43 +01:00
parent 5e8d2565c4
commit 82053c5b70
6 changed files with 275 additions and 53 deletions

View File

@@ -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