From 986da269cbaa43121402b3ca20e550c49a664597 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 31 Oct 2022 02:57:38 +0000 Subject: [PATCH] Update dotfiles/.local/motd.sh --- dotfiles/.local/motd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.local/motd.sh b/dotfiles/.local/motd.sh index 2e643f2c..0283d19b 100644 --- a/dotfiles/.local/motd.sh +++ b/dotfiles/.local/motd.sh @@ -270,7 +270,7 @@ print_banner() { printf " \\033[%sm%s LAN IP \\033[0m %s\\n" "$BANNER_KERNEL_COLOR" "ﯱ" "$(ifconfig en0 2>/dev/null | grep 'inet ' | cut -d ' ' -f 2)" IP_ADDR_PUB="$(timeout 1 sh -c 'curl -sSL ifconfig.me')" if [ -n "$IP_ADDR_PUB" ]; then - printf " \\033[%sm%s Public IP\\033[0m %s\\n" "$UPDATES_SECURITY_COLOR" "" "$IP_ADDR_PUB" + printf " \\033[%sm%s Public IP\\033[0m %s" "$UPDATES_SECURITY_COLOR" "" "$IP_ADDR_PUB" fi fi fi