Skip to content
Snippets Groups Projects
Commit 232b7b09 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: use colorless output of 'ip' command in cowsay to avoid formatting issues...

fix: use colorless output of 'ip' command in cowsay to avoid formatting issues (cowsay doesn't support color codes properly)
parent e0601001
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ figlet SLUBarchiv
HOST="${HOSTNAME}.$( dnsdomainname )"
IP="$(
ip -4 -brief addr show | \
ip --color=never -4 -brief addr show | \
grep -v 'UNKNOWN' | \
while read -r line; do
echo "$( printf " %.0s" {1..21} )${line}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment