From e439fd79a105624155144a2b919222390507c035 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Sat, 8 Feb 2020 04:58:06 +0100 Subject: [PATCH] Use "read" without escaping --- muninlite.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muninlite.in b/muninlite.in index c683ef4..84019a2 100755 --- a/muninlite.in +++ b/muninlite.in @@ -115,7 +115,7 @@ PLUGINS=$(echo "$RES" | xargs -r -n 1 echo | sort | xargs echo) FUNCTIONS="list nodes config fetch version quit" HOSTNAME=$(hostname -f 2>/dev/null || hostname) echo "# munin node at $HOSTNAME" -while read arg0 arg1 +while read -r arg0 arg1 do arg0=$(echo "$arg0" | xargs) arg1=$(echo "$arg1" | xargs)